Skip to content

Fixed ICC profile copy failure on write#1574

Merged
rouault merged 2 commits intouclouvain:masterfrom
mircomir:fix_iccprofile_on_write
Feb 11, 2025
Merged

Fixed ICC profile copy failure on write#1574
rouault merged 2 commits intouclouvain:masterfrom
mircomir:fix_iccprofile_on_write

Conversation

@mircomir
Copy link
Copy Markdown
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
Copy Markdown
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
@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