comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: TIFF Read/Write Bug?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: TIFF Read/Write Bug? [message #84243 is a reply to message #84242] Sun, 12 May 2013 04:03 Go to previous messageGo to previous message
tom.grydeland is currently offline  tom.grydeland
Messages: 51
Registered: September 2012
Member
On Saturday, May 11, 2013 1:04:38 AM UTC+2, Heinz Stege wrote:

> I don't know the TIFF standard.

The TIFF standard is here:

http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf

The description of palette images is in section 5. For palette images, the number of bits per sample can be 4 or 8, corresponding to 16 or 256 colors (the color values are short integers, however, giving 65536 levels for each of red, blue and green at each index). For more colors than that, you must go to one of the RGB full color modes.

> [...] So it does not make any sense
> for testImage to be integer instead of byte.

Exactly.

> Cheers, Heinz

--T
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Help in Astronomy /curvefitting
Next Topic: Maximum number of elements in a hash

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 19:03:41 PDT 2025

Total time taken to generate the page: 0.64381 seconds