Magnum::Trade::MiniExrImageConverter class

OpenEXR image converter plugin using miniexr.

Supports images with format PixelFormat::RGB16F or PixelFormat::RGBA16F.

This plugin depends on the Trade library and is built if WITH_MINIEXRIMAGECONVERTER is enabled when building Magnum Plugins. To use as a dynamic plugin, you need to load the "MiniExrImageConverter" plugin from MAGNUM_PLUGINS_IMAGECONVERTER_DIR. To use as a static plugin or as a dependency of another plugin with CMake, you need to request the MiniExrImageConverter component of the MagnumPlugins package and link to the MagnumPlugins::MiniExrImageConverter target.

This plugins provides OpenExrImageConverter plugin, but note that this plugin generates only uncompressed files and the performance might be worse than when using plugin dedicated for given format.

See Downloading and building plugins, Plugin usage with CMake and Loading and using plugins for more information.

Base classes

class AbstractImageConverter
Base for image converter plugins.

Constructors, destructors, conversion operators

MiniExrImageConverter() explicit
Default constructor.
MiniExrImageConverter(PluginManager::AbstractManager& manager, const std::string& plugin) explicit
Plugin manager constructor.

Private functions

auto doFeatures() const override -> Features virtual
Implementation of features()
auto doExportToData(const ImageView2D& image) override -> Containers::Array<char> virtual
Implementation of exportToData(const ImageView2D&)