[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [E-devel] More Tiff loader oddities
On Fri, 19 May 2006 15:25:13 +0100 Simon Wistow <email@example.com> babbled:
> Both these tiffs
> are being handled oddly by the tiff loader in Imlib2. If I run the first
> (new_ducked.tif) through the example convert program then it comes out
> all black but the right size. The second should look like the first but
> with a colour wheel on top but instead comes out as just the colour
> wheel which leads me to suspect it might be an alpha problem.
> xv, convert/ImageMagick and Shake all handle it ok. Gimp, eog, Imlib2 do
> I'm at a loss - putting some diagnostics into raster() show that
> TIFFGetPixel(A|R|G|B) are all returning 0 for every pixel.
> Now may be a good time to point out that, over the last couple of years,
> I have come to loathe and abhor Tiff and am actively nauseas about the
> prospect of possibly writing anything that may have to touch RAW files.
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).
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> enlightenment-devel mailing list
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) firstname.lastname@example.org
Tokyo, Japan (東京 日本)