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í.
Can not save a tiff file with JPEG compression
Moderator: Alex
-
- Posts: 5
- Joined: Fri Sep 21, 2012 11:23 am
Re: Can not save a tiff file with JPEG compression
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
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
-
- Posts: 5
- Joined: Fri Sep 21, 2012 11:23 am
Re: Can not save a tiff file with JPEG compression
Thanks Alex. We are currently evaluating your library so we will wait for the new release.
Regards.
Martí.
Regards.
Martí.
-
- Posts: 5
- Joined: Fri Sep 21, 2012 11:23 am
Re: Can not save a tiff file with JPEG compression
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.
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
Hello Marti,
New version with necessary functionality will be available on Monday.
Best regards, Alexander
New version with necessary functionality will be available on Monday.
Best regards, Alexander
Re: Can not save a tiff file with JPEG compression
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
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