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 #73865 is a reply to message #73864] Tue, 07 December 2010 12:32 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matt writes:

> The problem is that when someone opens my geotiffs in arcview, a whole
> black palette is displayed as 253 colors that aren't used. It's not
> just the return vector that looks like it has 255 elements in it, I
> believe the tiff file is stored with 255 when I've only asked it to
> store 2 values.

Zeros are more likely, don't you think? Especially
if things turn black on the other end.

Yes, I think a "color vector" is 256 elements in length
whether you fill 2 or 100 colors.

> Is this too much to ask for? Is it against the spec?

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.

Cheers,

David

P.S. Hard to fault ArcView for loading the color table
vectors. That's what I would do, too. :-(


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Sat Oct 11 09:31:32 PDT 2025

Total time taken to generate the page: 1.00257 seconds