mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Ignore greyscale ICC profiles due to lcms bug #3112
This commit is contained in:
parent
fc3b4a683d
commit
21a960796c
@ -16,6 +16,9 @@ Requires libvips v8.12.2
|
|||||||
[#3110](https://github.com/lovell/sharp/pull/3110)
|
[#3110](https://github.com/lovell/sharp/pull/3110)
|
||||||
[@kleisauke](https://github.com/kleisauke)
|
[@kleisauke](https://github.com/kleisauke)
|
||||||
|
|
||||||
|
* Temporarily ignore greyscale ICC profiles to workaround lcms bug.
|
||||||
|
[#3112](https://github.com/lovell/sharp/issues/3112)
|
||||||
|
|
||||||
### v0.30.1 - 9th February 2022
|
### v0.30.1 - 9th February 2022
|
||||||
|
|
||||||
* Allow use of `toBuffer` and `toFile` on the same instance.
|
* Allow use of `toBuffer` and `toFile` on the same instance.
|
||||||
|
@ -292,7 +292,8 @@ 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