AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.12.12 10:44 "[Tiff] Question about colormap", by Artem Y. Pervin
2004.12.14 21:06 "Re: [Tiff] Question about colormap", by Andrey Kiselev
2004.12.23 10:22 "Re[2]: [Tiff] Question about colormap", by Artem Y. Pervin
2004.12.30 08:42 "[Tiff] Search samples of using COMPRESSION_CCITTFAX4, LSB2MSB", by Jamel BEL HADJ BRAHIM
2004.12.29 09:39 "[Tiff] TR:", by Jamel BEL HADJ BRAHIM
2004.12.29 10:37 "Re: [Tiff] TR:", by Joris
2004.12.30 11:41 "Re: [Tiff] Search samples of using COMPRESSION_CCITTFAX4, LSB2MSB", by Joris
2005.01.21 21:49 "Re: [Tiff] deleting tags!", by Andrey Kiselev

2004.12.12 10:44 "[Tiff] Question about colormap", by Artem Y. Pervin

Hello, everyone.

I`ve a little question about TIFF`s colormap.

Suppose I got RGBA raster (width*height) somehow, and now wish to store it in a file, using just one byte per pixel and a colormap. Is there are any issues (I failed to find :( ) about working with palettes in libtiff?

Actually I`m interesting in how to generate a colormap. Suppose I know every different color in my raster, and amount of these colors is always less than 255, so its not gonna be a big problem to make such colormap, but how would I store it into TIFF, and then how to store original raster?

Thanks!

--
С уважением,
Первин Артем
mailto:versus@dot.pereslavl.ru