[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 <simon@thegestalt.org> babbled:

> Both these tiffs 
> 
> http://thegestalt.org/simon/tmp/new_ducked.tif
> http://thegestalt.org/simon/tmp/weird_ducked.tif
> 
> 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.

btw - forgot to mention - it seems that the alpha channel masks out anything
but the colorwheel on weird_ducked. the other transparent pixels in the tiff do
contain rgb pixel values from the swirl reflecting image but since alpha is 0 -
hey are not seen.

> xv, convert/ImageMagick and Shake all handle it ok. Gimp, eog, Imlib2 do 
> not. 
> 
> 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.
> 
> *shudder*
> 
> Simon
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> 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
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
裸好多
Tokyo, Japan (東京 日本)