I already tried in ABBYY but i still got the image with LZW compression.
My scenarios is - 1) scan as grayscale 2) export as tif with jpge compression. Here, if we export Format =tif, color type=Grayscale, then our tif's compression will be LZW. I want old old-style jpge instead of LZW.
Do you have any suggestion to get done on this requirements? Thank a lot.
Did it ever export in jpg compression even using the GUI? Even when use the GUI, it seem to still use LZW compression or CCITT I know that option is in Recognition Server but I don't see that option using FlexiCapture.
Strange things. I was just testing out a script export to tiff using the sample script in the help file for one of my customer. Using, those setting, it seem to save the compression in JPEG. It looks like if you don't include the quality attribute, it default to JPEG compression. Try that out and let me know if you come up with the same result.
Actually I already tried with imageoptions.Quality = 70 on export script. The tiff tag "Compress" properties has not changed yet to old style jpeg- pls see on attached screenshot. It still remind as LZW. As per your suggestion, I will send that output image to customer to test on it. Maybe, ABBYY does not change on tiff tag properties although the compression has already changed.
If you are using free image application like irfanview and view the image information, its actually a jpeg compression but when you view with windows image viewer sometimes it blank and for tif it become LZW.
But if your client requires this metadata of images are change in imageviewer you might need to look to script to change the metadata so can be viewed in imageviewer with jpeg compression but i say its not a productive effort but sometimes spec is spec for some client and it needs to be fullfilled.
Thanks you all so much and noted. I found out what exactly happened. In current work flow, I need to use one tool to annotate image after ABBYY exports the image. That tool changes image into LZW compression. Now i remove that tool and export directly from ABBYY. So, I got image with blank compression. I'm waiting now for customer checking.
Comments
9 comments
I am using VB.Net so this is the sample script
You can set the JPEG compression by setting the imageoptions.quality = 70 (means 70% compression)
Hope this could be helpful.
==============================================
Dim imageoptions as IExportImageSavingOptions
imageoptions = FCTools.NewImageSavingOptions
imageoptions.Format = "tif"
imageoptions.ColorType = "Grayscale"
imageoptions.Resolution = 300
imageoptions.Quality = 70
imageoptions.ShouldOverwrite = True
dim folder as string
folder = "C:\Yourfolder"
picturelogo.SaveAs (folder & "\" & filename & ".tif",imageoptions)
Dim imageoptions as IExportImageSavingOptions
imageoptions = FCTools.NewImageSavingOptions
imageoptions.Format = "tif"
imageoptions.ColorType = "Grayscale"
imageoptions.Resolution = 300
imageoptions.Quality = 70
imageoptions.ShouldOverwrite = True
dim folder as string
folder = "C:\Yourfolder"
document.SaveAs (folder & "\" & filename & ".tif",imageoptions)
I already tried in ABBYY but i still got the image with LZW compression.
My scenarios is -
1) scan as grayscale
2) export as tif with jpge compression.
Here, if we export Format =tif, color type=Grayscale, then our tif's compression will be LZW. I want old old-style jpge instead of LZW.
Do you have any suggestion to get done on this requirements? Thank a lot.
yimon,
Did it ever export in jpg compression even using the GUI? Even when use the GUI, it seem to still use LZW compression or CCITT I know that option is in Recognition Server but I don't see that option using FlexiCapture.
Strange things. I was just testing out a script export to tiff using the sample script in the help file for one of my customer. Using, those setting, it seem to save the compression in JPEG. It looks like if you don't include the quality attribute, it default to JPEG compression. Try that out and let me know if you come up with the same result.
Actually I already tried with imageoptions.Quality = 70 on export script. The tiff tag "Compress" properties has not changed yet to old style jpeg- pls see on attached screenshot. It still remind as LZW. As per your suggestion, I will send that output image to customer to test on it. Maybe, ABBYY does not change on tiff tag properties although the compression has already changed.
If you are using free image application like irfanview and view the image information, its actually a jpeg compression but when you view with windows image viewer sometimes it blank and for tif it become LZW.
But if your client requires this metadata of images are change in imageviewer you might need to look to script to change the metadata so can be viewed in imageviewer with jpeg compression but i say its not a productive effort but sometimes spec is spec for some client and it needs to be fullfilled.
Thanks you all so much and noted.
I found out what exactly happened. In current work flow, I need to use one tool to annotate image after ABBYY exports the image. That tool changes image into LZW compression. Now i remove that tool and export directly from ABBYY. So, I got image with blank compression. I'm waiting now for customer checking.
Please sign in to leave a comment.