PNG importer plugin.
Supports Portable Network Graphics (
*.png) RGB, RGBA or grayscale images with 8 and 16 bits per channel. Palleted images and images with transparency mask are automatically converted to RGB(A).
This plugin depends on the Trade and libPNG libraries and is built if
WITH_PNGIMPORTER is enabled when building Magnum Plugins. To use as a dynamic plugin, you need to load the
"PngImporter" plugin from
MAGNUM_PLUGINS_IMPORTER_DIR. To use as a static plugin or as a dependency of another plugin with CMake, you need to request the
PngImporter component of the
MagnumPlugins package and link to the
MagnumPlugins::PngImporter target. See Downloading and building plugins, Plugin usage with CMake and Loading and using plugins for more information.
The images are imported with PixelType::