The CImg Library is a small and open-source C++ toolkit for image processing
1.46k
stars
278
forks
source link
Is this library uses RGBA32 or RGBA32 Premultiplied Or ARGB32 pixel format for 4 channel images? #375
Closed
88aleksandr88 closed 1 year ago
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 ?