mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 02:30:12 +02:00
Ensure pipelineColourspace handles CMYK profiles #3906
This commit is contained in:
parent
045d54e2e6
commit
3eeaee71c0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user