Loads an external PNG image file.
If deferred is true. then does not load all the data immediately (only size and color properties are loaded). The main data are loaded just before the image object is written to PDF, and the loaded data are deleted immediately.
a path to a PNG image file
if the load of the image must be referred
when loadPngImageFromFile() succeeds, it returns an instance of a Image object. Otherwise, it returns null and error-handler is called.
See Implementation
Loads an external PNG image file.
If deferred is true. then does not load all the data immediately (only size and color properties are loaded). The main data are loaded just before the image object is written to PDF, and the loaded data are deleted immediately.