PngExtendedParams
PngExtendedParams Object (IPngExtendedParams Interface)
PngExtendedParams object (IPngExtendedParams interface) in the ABBYY FineReader Engine API — Tuning parameters for saving a black-and-white image to PNG (IFF_Png) via IImage.WriteToFile; persistent object savable to file/memory.
This object provides functionality for tuning the parameters of saving a black-and-white image to PNG format (IFF_Png format) using the IImage::WriteToFile method. A pointer to this object is passed into the IImage::WriteToFile method as an input parameter, and thus affects the properties of the resulting image. All properties of a newly created object of this type are set to reasonable defaults. See the description of particular property for its default value.
The PngExtendedParams object is a persistent object. This means that the object’s current state can be written to persistent storage. Later, the object can be re-created by reading the object’s state from the persistent storage. The following methods provide persistence of the object:
Linux: SaveToFile, and LoadFromFile
Windows SaveToFile, LoadFromFile, SaveToMemory, and LoadFromMemory.
