cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anish <anish.s...@techblue.co.uk>
Subject Re: Modifying MIME-TYPE with ImageReader
Date Fri, 23 Oct 2009 16:20:40 GMT
> Hi Gaurav/Anish
>
> Can you make sure that you are not passing the image info of source 
> image into your code?
>
> You have to change the image info according to GIF image as well as 
> you are converting JPG to GIF.

Thanks Sachin, it worked..... :-)

As we used ImageInfo object according to the GIF format, it returned us 
proper GIF file on the browser.




sac sha wrote:
> Hi Gaurav/Anish
>
> Can you make sure that you are not passing the image info of source 
> image into your code?
>
> You have to change the image info according to GIF image as well as 
> you are converting JPG to GIF.
>
> Thanks
> Sac
>
> On Fri, Oct 23, 2009 at 1:40 AM, Luca Morandini <lmorandini@ieee.org 
> <mailto:lmorandini@ieee.org>> wrote:
>
>     On 22/10/09 23:44, Thorsten Scherler wrote:
>
>
>         On 22/10/2009, at 21:32, Luca Morandini wrote:
>
>             Yep... although it could be even easier to test: since the
>             (untransformed) JPEG is square and the (transformed) GIF
>             is circular,
>             what's needed is just checking the transparency of the
>             background.
>
>
>         That would not matter. Since the underlying gif does not exist
>         but it is
>         the transformed jpg would be interesting what the browser
>         thinks (we
>         trick him into eating the correct extension). Further you said
>         transparency is not allowed in jpg so if you see transparency
>         what does
>         that mean?
>
>
>     One note: I am *not* the user who posted this issue, that is
>     Gaurav, not me.
>
>     Anyway, I just wanted to make sure the returned image is the
>     transformed one, in order to exclude any issue with the custom
>     reader Gaurav developed.
>
>
>     Regards,
>
>
>     --------------------
>       Luca Morandini
>     www.lucamorandini.it <http://www.lucamorandini.it>
>     --------------------
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>     <mailto:users-unsubscribe@cocoon.apache.org>
>     For additional commands, e-mail: users-help@cocoon.apache.org
>     <mailto:users-help@cocoon.apache.org>
>
>
>
>
> -- 
> Regards
> Sachin Sharma
>


-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




Mime
View raw message