Page 1 of 1

Can not save a tiff file with JPEG compression

Posted: Fri Sep 21, 2012 12:07 pm
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

Posted: Mon Sep 24, 2012 11:41 am
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

Posted: Wed Sep 26, 2012 12:04 pm
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

Posted: Fri Sep 28, 2012 1:28 pm
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

Posted: Fri Sep 28, 2012 2:37 pm
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

Posted: Mon Oct 01, 2012 10:17 am
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