Home › Forums › TWAIN Classic › Image Formats supported by TWAIN
- This topic has 3 replies, 3 voices, and was last updated 10 years, 10 months ago by caimage.
- AuthorPosts
Hi,
Can anyone please provide me information regarding the image formats(types) supported by TWAIN with example ?
Thanks in Advance
From the TWAIN 2.1 Spec 10-139 ICAP_IMAGEFILEFORMAT, the following file formats are defined:
TWFF_TIFF, TWFF_PICT, TWFF_BMP, TWFF_XBM, TWFF_JFIF, TWFF_FPX, TWFF_TIFFMULTI, TWFF_PNG, TWFF_SPIFF, TWFF_EXIF, TWFF_PDF, TWFF_JP2, TWFF_DEJAVU, and TWFF_PDFAThe sample Software-only DS supports TIFF and BMP
https://sourceforge.net/projects/twain-samples/
see function CTWAINDS_Base::saveImageFile()
http://twain-samples.svn.sourceforge.net/viewvc/twain-samples/trunk/TWAIN-Samples/Twain_DS_sample01/src/CTWAINDS_Base.cpp?view=markupJim Watters
Thanks for the information
if you are not clear about image formats c#, here is a list of the most common used formats. you may dig in and convert between them if you feel like to.
- AuthorPosts