saraff-9EB1047A4BEB4cef8506B29BA325BD5A / Saraff.Twain.NET

Saraff.Twain.NET is the skillful scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.
GNU General Public License v3.0
102 stars 35 forks source link

Set ImageFileFormat to jpg/jpeg #17

Closed Genarito closed 6 years ago

Genarito commented 6 years ago

How could I set ImageFileFormat Capability to JPG or JPEG? Is the same (in term of compability) the jp2 or jpx options?

Thanks in advantage.

Genarito commented 6 years ago

I solved it with Tw.FF.Jpig. I thought that is was not the same than JPEG. Sorry for the inconvenients

saraff-9EB1047A4BEB4cef8506B29BA325BD5A commented 6 years ago

Hello, @Genarito You can use follow:

Twain32.Capabilities.ImageFileFormat.Set(TwFF.Jfif /*Jpeg File Interchange Format*/);