This class is used for loading images in the
PNG format from files or IO streams.
It can handle all five types of
PNG images: greyscale w/wo alpha, truecolor w/wo alpha and indexed-color. Furthermore, it recognizes the gAMA, cHRM, sRGB and tRNS chunks and handles them appropriately. However, Adam7 interlaced images are not supported!
Note that greyscale, truecolor and indexed-color images with alpha need to be decoded to get the alpha channel which takes time.
See: PDF2.0 s7.4.4., s8.9
The magic marker that tells us if the file/IO contains an image in
Mapping from sRGB chunk rendering intent byte to
The primary chromaticities and white point used by the sRGB specification.
Public Class Methods
true if the given file or IO stream can be handled, ie. if it contains an image in