2002.01.15 15:22 "TIFF to JPEG", by Shan

Hi Genies

I want to create a Jpeg-RGB image from a Tiff(with CMYK /GRAYSCALE/RGB) using tiff library (libtiff). I have done some work and it is working only for Tiff-CMYK and not for GRAYSCALE and RGB.

I tried with both TIFFReadRGBAImage & TIFFReadScanline but it is still working only for Tiff-CMYK.

If someone did this kind of work in past please help me with some sample code ( I am really sorry to ask like this but what can i do, i am struggling a lot !!!!). or please direct me to some web site where i can get good idea.

Thanks in advance