AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.12.19 03:25 "[Tiff] Project on .bmp to .gif", by navneet rastogi
2008.12.19 03:59 "Re: [Tiff] Project on .bmp to .gif", by Bob Friesenhahn

2008.12.19 03:25 "[Tiff] Project on .bmp to .gif", by navneet rastogi

Hello,

I am working on a project "bmp to gif images" .I have been prepared a LZW compression program for a text file but to implement on a bmp image i have not appropriate knowledge ,i am using gtk2.0 for this purpose.First we get pixel value of a image then compress it but in this we gets the value of RGB in 8 bits seperatelly so we get 24 bit data for a single pixel in place of 8 bits.

     I think to convert this 24 bits data,for this we uses color table
but how we make it ,how many enteries it contains.is 8 bits enteries
is sufficient for this? How is the approximation done in case when
the color table is full and there are still more colors left in the
image?

Navneet