From: Matan Ziv-Av (matan@svgalib.org)
Date: Tue 04 Jul 2000 - 12:37:33 IDT
On Tue, 4 Jul 2000 lists@123india.com wrote: > hi, > > I managed to save the color table by using gl_getpalettecolor as I > couldn't figure out how gl_getpalette was working. Then using raw2gif and > the saved color table (raw2gif is from libungif, not netpbm - sorry for > the mistake) I can make a .gif(uncompressed) from the screen dump. The > image is fine. I found out that a color table is a file with 4 entries per > line. > > Which will be the best format to save a 256 color image? And which > library will be easy to use for that? (found out that a jpg is best for > 24bit, not 8bit) png is certainly preferable for a computer generated 256 color image. Sergio Masci gave you an example for using libpng. -- Matan Ziv-Av. matan@svgalib.org
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST