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 #73864] Tue, 07 December 2010 14:21 Go to previous message
Matt[2] is currently offline  Matt[2]
Messages: 69
Registered: March 2007
Member
> 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.

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

No, that's exactly right, if your palette has 256 colors, load them
all. But I really don't want a palette with 256 colors.
[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: Wed Oct 08 17:19:38 PDT 2025

Total time taken to generate the page: 0.00412 seconds