VintaSoft Twain .NET SDK Discussions

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

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Can not save a tiff file with JPEG compression



Can not save a tiff file with JPEG compression

Post by martimanrique »

Hello,

I have tried to save an grayscale 8-bit image to a TIFF file using JPEG compression but the result file is in color and has 24-bit with no compression. This is my code in the ImageAcquired event:

_device.AcquiredImages.TiffCompression = TiffCompression.JPEG
_device.AcquiredImages.TiffMultiPage = true;
_device.AcquiredImages.Last.Save(@"c:\test.tiff");

Can anyone help me please?

Regards.
MartГ­.


Re: Can not save a tiff file with JPEG compression

Post by Alex »

Hello Marti,

Your code is correct.

Current version of SDK creates TIFF files with JPEG compression in RGB color space. We will add ability to create TIFF files with JPEG compression in Grayscale color space in 1 week.

Best regards, Alexander


Re: Can not save a tiff file with JPEG compression

Post by martimanrique »

Thanks Alex. We are currently evaluating your library so we will wait for the new release.

Regards.
MartГ­.


Re: Can not save a tiff file with JPEG compression

Post by martimanrique »

Hello again Alex,

We will buy the license as soon as this functionality is published. Can you drop me an email when you publish it please?

Thanks.
Marti.


Re: Can not save a tiff file with JPEG compression

Post by Alex »

Hello Marti,

New version with necessary functionality will be available on Monday.

Best regards, Alexander


Re: Can not save a tiff file with JPEG compression

Post by Alex »

Hello Marti,

Version 8.2.3.1 of VintaSoftTwain.NET SDK is released today, in this version added an ability to create TIFF files with JPEG compression in Grayscale color space.

Best regards, Alexander


Page 1 from 1: 1