jxl: refactor image loading

This commit is contained in:
Daniel Novomeský
2025-01-15 18:59:44 +01:00
parent d6534f0e68
commit 8a05711e99
5 changed files with 376 additions and 73 deletions

View File

@@ -79,6 +79,9 @@ private:
QImage m_current_image;
QColorSpace m_colorspace;
bool m_isCMYK;
uint32_t m_cmyk_channel_id;
uint32_t m_alpha_channel_id;
QByteArray m_xmp;
QByteArray m_exif;
@@ -86,7 +89,6 @@ private:
QImage::Format m_target_image_format;
JxlPixelFormat m_input_pixel_format;
size_t m_buffer_size;
};
class QJpegXLPlugin : public QImageIOPlugin