BLPixelConverter Class Referencefinal [¶]
Pixel converter [C++ API].
Provides an interface to convert pixels between various pixel formats. The primary purpose of this class is to allow efficient conversion between pixel formats used natively by Blend2D and pixel formats used elsewhere, for example image codecs or native framebuffers.
Note
A default-initialized converter has a valid conversion function that would return BL_ERROR_NOT_INITIALIZED if invoked. Use is_initialized()
member function to test whether the pixel converter was properly initialized.