Page 1 of 1

No FileFormat and ImageCompression in Trial Version?

Posted: Tue Feb 01, 2011 5:26 pm
by purplesky
I'm testing the demo version to see how it works, as we want to replace our Twain SDK that we are using now with this one.
Everything seems to work good, except for the fact that when I set JPG as FileFormat, the selected device still has BMP and after calling GetSupportedImageCompressions() I get no results.
Are these limitations of the Trial Version or am I doing something wrong?

Re: No FileFormat and ImageCompression in Trial Version?

Posted: Tue Feb 01, 2011 8:33 pm
by Alex
Hello,

You need to check the GetSupportedImageFileFormats method of the Device class if you want receive a list of image formats (BMP, TIFF, JPEG, ...) supported by device.

GetSupportedImageCompressions method returns supported compressions, i.e. CCITT, LZW for TIFF files or RLE for BMP files, etc.

Please see our TwainFileTransferDemo.

Best regards, Alexander