diff --git a/docs/changelog.md b/docs/changelog.md index 8f0b1622..ae3f11d2 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -8,6 +8,9 @@ Requires libvips v8.13.0 * Drop support for Node.js 12, now requires Node.js >= 14.15.0. +* Re-introduce support for greyscale ICC profiles (temporarily removed in 0.30.2). + [#3114](https://github.com/lovell/sharp/issues/3114) + * Add support for WebP and PackBits `compression` options with TIFF output. [#3198](https://github.com/lovell/sharp/issues/3198) diff --git a/src/pipeline.cc b/src/pipeline.cc index 23806cde..3dd47872 100644 --- a/src/pipeline.cc +++ b/src/pipeline.cc @@ -302,8 +302,7 @@ class PipelineWorker : public Napi::AsyncWorker { if ( sharp::HasProfile(image) && image.interpretation() != VIPS_INTERPRETATION_LABS && - image.interpretation() != VIPS_INTERPRETATION_GREY16 && - image.interpretation() != VIPS_INTERPRETATION_B_W + image.interpretation() != VIPS_INTERPRETATION_GREY16 ) { // Convert to sRGB/P3 using embedded profile try {