FR Engine 11 SDK
I'm trying to write a file with settings to 300 dpi? what parameter should i use?
FR Engine 11 SDK
I'm trying to write a file with settings to 300 dpi? what parameter should i use?
If you scan the documents which you recognize, you can set the resolution using settings of your scanner. Otherwise, please share or send to SDK_Support@abbyy.com an image sample and the description of how you get it.
I'm not actually scanning the documents, but loading the image and and using the statement below:
> page.ImageDocument.ColorImage.WriteToFile(batchfolder
> + "\\" + PageName + pg + ".jpg", FREngine.ImageFileFormatEnum.IFF_TiffColorPackbits,
> ImageModification);
I want to add a param? to set the DPI to 300.
I was able to achieved this using code below:
page.ImageDocument.ChangeResolution(300);
You can change the image resolution during image loading via IImageDocument::ChangeResolution method. Please find more details in Help → API Reference → Image-Related Objects → Image Document.
Please sign in to leave a comment.