POV-Ray : Newsgroups : povray.newusers : GIF: how to define color number in linux? : Re: GIF: how to define color number in linux? Server Time
15 May 2024 21:08:46 EDT (-0400)
  Re: GIF: how to define color number in linux?  
From: Le Forgeron
Date: 2 Dec 2013 12:30:18
Message: <529cc3aa$1@news.povray.org>
Le 02/12/2013 18:05, LanuHum nous fit lire :
> Hi!
> Sorry!
> In doc:
> image_map {
>   gif "mypic.gif"
>   filter   0, 0.5 // Make color 0 50% filtered transparent
>   filter   5, 1.0 // Make color 5 100% filtered transparent
>   transmit 8, 0.3 // Make color 8 30% non-filtered transparent
>   }
> 
> How to define, what indexes in my picture? 0, 5, 8 or 7, 256, 119, 17...
> Don't advise to me to buy Photoshop and Windows-8 :)
> Me means of programming in linux interest.
> 
> 
> 
To find the index of color map on linux, I recommend using Gimp.

Load your gif in the program, then if the colormap is not displayed
automatically, go to Windows->Dockable Dialogs->Colormap

You can even reorder the color map with Rearrange Colormap (rightclick
menu of the colormap, when selecting a color from the
colormap)(rearranging does not change the display of the picture, only
the order in the color map)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.