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

Home » Public Forums » archive » Re: Tiff images with "short" Palette?
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 images with "short" Palette? [message #73953 is a reply to message #73864] Wed, 08 December 2010 07:26 Go to previous messageGo to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 07/12/2010 5:21 PM, Matt wrote:
>> Yes, I think a "color vector" is 256 elements in length
>> whether you fill 2 or 100 colors.
>
> This is the crux. Can I make a "color vector" that has a length of 2
> (or 3 or 5)?. If not, is that because of limitations with IDL, or
> because of limitations to the TIFF spec. I've given the spec a
> glance, and I can't see that the palette must be 256 colors.
>
>> Hard to say if it is against the spec, I've never read it.
>> But I don't think you are going to be able to make what you
>> want in IDL. At least I don't know any way to.
>
> Yup, so now I'm looking for alternatives.

Do you have Envi? ... maybe ENVI_WRITE_ENVI_FILE , with the fileType=
set to "tiff" value behaves differently... it specifically asks for a
lookup table, which is supposed to be 3*number of classes

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tiff images with "short" Palette?
Next Topic: Saving Large(ish) PDF's with IMAGE() crashes IDL completely

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

Current Time: Fri Oct 10 14:57:18 PDT 2025

Total time taken to generate the page: 1.28193 seconds