[Gdal-dev] One band Jpeg with color table

Ivan Lucena ILucena at clarku.edu
Wed Mar 22 17:15:49 EST 2006


Hi There,

Maybe it's because I am new here, so my questions could be silly.

But f you have a single band byte image with color table and you want to
export to a jpeg color result, for visualization purpose only, you need
to create a RGB version of your image and then convert it to jpeg,
because jpeg single band are greyscale only
(http://www.gdal.org/frmt_jpeg.html).

How to do that in the GDAL C API?

Thanks in advance,

Ivan Lucena




More information about the Gdal-dev mailing list