Any image converter plugin.
Detects file type based on file extension, loads corresponding plugin and then tries to convert the file with it.
This plugin depends on the Trade library and is built if
WITH_ANYIMAGECONVERTER is enabled when building Magnum. To use as a dynamic plugin, you need to load the
"AnyImageConverter" 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
AnyImageConverter component of the
Magnum package and link to the
Magnum::AnyImageConverter target. See Downloading and building, Usage with CMake and Loading and using plugins for more information.
Supported formats for uncompressed data:
- Basis Universal (
*.basis), converted with BasisImageConverter or any other plugin that provides it
- Windows Bitmap (
*.bmp), converted with any plugin that provides
- OpenEXR (
*.exr), converted with any plugin that provides
- Radiance HDR (
*.hdr), converted with any plugin that provides
- JPEG (
*.jpeg), converted with JpegImageConverter or any other plugin that provides it
- Portable Network Graphics (
*.png), converted with PngImageConverter or any other plugin that provides it
- Truevision TGA (
*.vst), converted with TgaImageConverter or any other plugin that provides it
No supported formats for compressed data yet.
Only exporting to files is supported.
- class AbstractImageConverter
- Base for image converter plugins.