Question
How can a rotated image be saved in an external format?
Answer
After a document is loaded to FineReader Engine, it can be written on the disk with all modifications made by calling the WriteToFile method of the Image object.
// C#
document.AddImageFile(imagePath, prepareImageMode, null);
FRPage frPage = document.Pages[0];
ImageDocument imageDocument = frPage.ImageDocument;
IImage bwImage = imageDocument.BlackWhiteImage;
bwImage.WriteToFile(outputFolder, ImageFileFormatEnum.IFF_PngBwPng);
Comments
0 comments
Please sign in to leave a comment.