Skip to content

Conversation

@mircomir
Copy link
Contributor

When I set a color profile in write I always get an assert in opj_jp2_write_colr() (line 831). I've been using the library for a short time, but I didn't find any other way to pass the profile on write. Looking at the code it seems that the color profile set in the image is never copied to jp2->color.

@rouault
Copy link
Collaborator

rouault commented Jan 28, 2025

@mircomir can you fix formatting issues ? See https://github.com/uclouvain/openjpeg/actions/runs/12952828902/job/36315685711?pr=1574

@rouault rouault merged commit 578c67b into uclouvain:master Feb 11, 2025
13 checks passed
@rouault rouault added this to the 2.5.4 milestone Feb 11, 2025
@mircomir mircomir deleted the fix_iccprofile_on_write branch February 11, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants