2004.11.16 05:10 "[Tiff] regarding tiff to bitmap", by Meenatchi Raja Rajeshwari
i want to convert a tiff file in to a bitmap file.
can anybody help me regarding that.
i have some problem with the following code
TIFF *inpimage=NULL; inpimage=TIFFOpen("D:\\output_files\\appurgb280multi13x18.tiff",
// int h=TIFFGetField(inpimage, TIFFTAG_IMAGEWIDTH, &imwidth);
// TIFFGetField(inpimage, TIFFTAG_IMAGELENGTH, &imheight);
tsize_t imlinesize_bytes=TIFFScanlineSize(inpimage); uint8 *read_buff=(uint8 *)malloc(imlinesize_bytes*imheight); BYTE *bits=read_buff;
if (TIFFReadScanline(inpimage,bits, row, 0)==-1)
AfxMessageBox("Complete or error",MB_OK,NULL);
The return value of TIFFScanlineSize is wrong.
This email message and all attachments are confidential and intended only
for the use of an individual or entity named above and may contain
information that is privileged, confidential or exempt from disclosure under
applicable law.If you are not the intended recipient,you are notified that
any is dissemination ,distribution or copying of this email is strictly
If you have received this email in error, please notify us immediately by
return email or to firstname.lastname@example.org and destroy the original
Opinions,conclusions,and other information in this message that do not
relate to the official business of Sharp Software Development India Pvt Ltd
shall be understood to be neither given nor endorsed by
Sharp Software Development India Pvt Ltd.