Can not save a tiff file with JPEG compression
Posted: 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Ã.
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Ã.