Can not save a tiff file with JPEG compression

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

Moderator: Alex

Post Reply
martimanrique
Posts: 5
Joined: Fri Sep 21, 2012 11:23 am

Can not save a tiff file with JPEG compression

Post by martimanrique » Fri Sep 21, 2012 12:07 pm

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í.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Can not save a tiff file with JPEG compression

Post by Alex » Mon Sep 24, 2012 11:41 am

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

martimanrique
Posts: 5
Joined: Fri Sep 21, 2012 11:23 am

Re: Can not save a tiff file with JPEG compression

Post by martimanrique » Wed Sep 26, 2012 12:04 pm

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

Regards.
Martí.

martimanrique
Posts: 5
Joined: Fri Sep 21, 2012 11:23 am

Re: Can not save a tiff file with JPEG compression

Post by martimanrique » Fri Sep 28, 2012 1:28 pm

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.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Can not save a tiff file with JPEG compression

Post by Alex » Fri Sep 28, 2012 2:37 pm

Hello Marti,

New version with necessary functionality will be available on Monday.

Best regards, Alexander

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Can not save a tiff file with JPEG compression

Post by Alex » Mon Oct 01, 2012 10:17 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests