Re: Alternative to COLOR_QUAN ? GIF with more than 256 colors [message #74985] |
Thu, 10 February 2011 05:20 |
Spon
Messages: 178 Registered: September 2007
|
Senior Member |
|
|
On Feb 10, 12:57 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Yes ! Checkhttp://www.cydeweys.com/blog/2008/03/26/gifs-not-256-co lors/
Impressive!
> What I realized is that the routine WRITE_GIF only supports an input
> BYTE array. That means that I can only save from 0 to 255 colors.
Well, WRITE_GIF is written in IDL, so I expect you could modify it to
accept >256 colours for your own personal use if you had the time and
expertise...
> That's really annoying...
> Forget my post,
I suspect that's the best solution :-(
>
> Bernat
Chris
|
|
|
|
Re: Alternative to COLOR_QUAN ? GIF with more than 256 colors [message #74987 is a reply to message #74986] |
Thu, 10 February 2011 03:34  |
Spon
Messages: 178 Registered: September 2007
|
Senior Member |
|
|
On Feb 9, 9:21 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi folks,
>
> I want to create an animated GIF from my IDLgrWindow (object graphics
> IDL 7.1).
> How could I create GIFs with more than 256 colors ?
> Thank you in advance,
>
> Bernat
>
> PS GIFs aren’t limited to 256 colors
From the wikipedia article:
"The format supports up to 8 bits per pixel thus allowing a single
image to reference a palette of up to 256 distinct colors."
Are you *sure* about your PS statement?
Regards,
Chris
|
|
|