No FileFormat and ImageCompression in Trial Version?

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
purplesky
Posts: 1
Joined: Tue Feb 01, 2011 1:25 pm

No FileFormat and ImageCompression in Trial Version?

Post 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?
Alex
Site Admin
Posts: 2362
Joined: Thu Jul 10, 2008 2:21 pm

Re: No FileFormat and ImageCompression in Trial Version?

Post 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
Post Reply