GreycLab/CImg

Is this library uses RGBA32 or RGBA32 Premultiplied Or ARGB32 pixel format for 4 channel images?

88aleksandr88 opened this issue · 2 comments

QImage out = img;
cimg_library::CImg<uint8_t> img_c(out.bits(), out.width(), out.height(), 1, 4, false);

img_c assumes that out.bits() in RGBA32 or RGBA32 Premultiplied format or ARGB32?

How to convert uint32_t pixel (4 bytes RGBA pixel) to cimg_library::CImg or cimg_library::CImg ?

short answer: everything is unpremultiplied here

Thank you, devernay.