Skip to content

Commit

Permalink
Ensure pipelineColourspace handles CMYK profiles #3906
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Mar 6, 2024
1 parent 045d54e commit 3eeaee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pipeline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ class PipelineWorker : public Napi::AsyncWorker {
sharp::HasProfile(image) &&
image.interpretation() != VIPS_INTERPRETATION_LABS &&
image.interpretation() != VIPS_INTERPRETATION_GREY16 &&
baton->colourspaceInput != VIPS_INTERPRETATION_CMYK &&
!baton->input->ignoreIcc
) {
// Convert to sRGB/P3 using embedded profile
Expand Down

0 comments on commit 3eeaee7

Please sign in to comment.