[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] More Tiff loader oddities



On Sat, May 20, 2006 at 12:36:23AM +0900, Carsten Haitzler said:
> i am going to have to make your day get worse....
> 
> "works for me" (tm).
> 
> imlib2_view display the same results that gimp and imagemagick display for
> both tif files. when imlib2_convert runs it converts to just what i'd expect
> (converting to a png) but png does nuke the pixel values where the alpha value
> is 0 (so for new_ducked its all blank and for the weird_ducked only the
> colorwheel contains useful pixels).

Well, that's better than having to delve around in tiffio.h :)

You are, of course right.

What was confusing me was that I have a image_context_set_alpha(0) so I 
was assuming that it would be ignoring the alpha when I saved out as, 
say, jpg.