jasper icon indicating copy to clipboard operation
jasper copied to clipboard

Feature request: access to raw icc profile

Open HappySeaFox opened this issue 3 years ago • 3 comments

Hi! 😀

It would be great if jasper gives access to the raw ICC profile if the loaded image has it. Like libjpeg or libpng does. Raw profile = binary data and its length. Like that:

void *icc;
size_t icclen;

jas_image_iccp(image, &icc, &icclen);

It's also discussible if this function should allocate icc, or just return an already existing internal pointer.

HappySeaFox avatar Oct 06 '21 08:10 HappySeaFox