mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Re-introduce support for greyscale ICC profiles #3114
This commit is contained in:
parent
7a8ab452c5
commit
81c74f57e0
@ -8,6 +8,9 @@ Requires libvips v8.13.0
|
|||||||
|
|
||||||
* Drop support for Node.js 12, now requires Node.js >= 14.15.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.
|
* Add support for WebP and PackBits `compression` options with TIFF output.
|
||||||
[#3198](https://github.com/lovell/sharp/issues/3198)
|
[#3198](https://github.com/lovell/sharp/issues/3198)
|
||||||
|
|
||||||
|
@ -302,8 +302,7 @@ class PipelineWorker : public Napi::AsyncWorker {
|
|||||||
if (
|
if (
|
||||||
sharp::HasProfile(image) &&
|
sharp::HasProfile(image) &&
|
||||||
image.interpretation() != VIPS_INTERPRETATION_LABS &&
|
image.interpretation() != VIPS_INTERPRETATION_LABS &&
|
||||||
image.interpretation() != VIPS_INTERPRETATION_GREY16 &&
|
image.interpretation() != VIPS_INTERPRETATION_GREY16
|
||||||
image.interpretation() != VIPS_INTERPRETATION_B_W
|
|
||||||
) {
|
) {
|
||||||
// Convert to sRGB/P3 using embedded profile
|
// Convert to sRGB/P3 using embedded profile
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user