On Thu, 5 Jan 2006 12:07:12 +0000 Simon Wistow <[EMAIL PROTECTED]> babbled:
> Apparently TIFF has not one but two types of Alpha channel Associated > and UnAssociated. The premultiplication of the r,g and b channels by > 255/a on load should only be done with UnAssociated alpha channels > (which seems to be counter-intuitive to me but what the hell). > > The previous patch that Raster did for me didn't take this into account. > > Attached is a patch against CVS loader_tiff.c to fix that. > > This possibly means that line 400 (in save) should be changed to > EXTRASAMPLE_UNASSALPHA. oucdh. both premul and non premul alpha in tiff. pain! patch in cvs. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
