AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2008

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2008.04.17 09:58 "a question about creating transparency of the image in TIFF", by <authletics@mail.ru>
2008.04.17 14:03 "Re: a question about creating transparency of the image in TIFF", by Frank Warmerdam
2008.04.17 15:18 "Re: a question about creating transparency of the image in TIFF", by Gerben Vos
2008.04.17 21:14 "Re: a question about creating transparency of the image in TIFF", by Chris Cox
2008.04.17 21:48 "Re: a question about creating transparency of the image in TIFF", by Bob Friesenhahn
2008.04.18 12:53 "Re: a question about creating transparency of the image in TIFF", by Edward Lam
2008.04.18 15:41 "Re: a question about creating transparency of the image in TIFF", by Bob Friesenhahn
2008.04.18 15:56 "Re: a question about creating transparency of the image in TIFF", by Edward Lam

2008.04.18 15:56 "Re: a question about creating transparency of the image in TIFF", by Edward Lam

Hi Bob,

Sorry, I didn't realize what you mean by "colormapped". Yes, I was 
thinking of RGB full color images. Thanks for the clarification.

-Edward

Bob Friesenhahn wrote:
> On Fri, 18 Apr 2008, Edward Lam wrote:
>>> The TIFF specification does not prevent a colormapped file with 
>>> transparency but the colors in the colormap would then need to be 
>>> premultiplied, which could be a challenge to surmount.  As a result, 
>>> no one does this.
>>
>> Sorry, I don't understand this. We output TIFFs with premultiplied RGB 
>> colors and associated alpha. How is this a "challenge"?
> 
> I highly doubt that these are colormapped files.  In that case, the 
> values in the colormap also need to reflect pre-multiplied RGB. 
> Pre-multiplied RGB depends on pixel position but colormapped images only 
> use colormap indexes.  Only a carefully crafted image with limited alpha 
> values will work for this scenario.  I am fairly sure that my software 
> would decode such an image correctly, but few (if any) exist in the wild 
> so there is nothing to test with.
> 
> Bob
> ======================================
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
>