<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV>I would like to know what GDAL "C" API function I have to use to convert 24bit RGB colors PNG/JPG images to </DIV>
<DIV>256 colormap (8 bits) TIF files. I understood this is possible with MapServer using IMAGEMODE=PC256 (converted using the color cube), but I need to do this from my "C" program (a Win32 viewer ) that is already using the gdal lib.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>Marcello Ferrero</DIV>
<DIV><A href="mailto:marcello_ferrero@yahoo.com">marcello_ferrero@yahoo.com</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>