Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ICC profile copy failure on write #1574

Merged
merged 2 commits into from
Feb 11, 2025

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