File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ Requires libvips v8.16.1
4949 [ #4316 ] ( https://github.com/lovell/sharp/pull/4316 )
5050 [ @florentzabera ] ( https://github.com/florentzabera )
5151
52+ * Allow wide-gamut HEIF output at higher bitdepths.
53+ [ #4344 ] ( https://github.com/lovell/sharp/issues/4344 )
54+
5255## v0.33 - * gauge*
5356
5457Requires libvips v8.15.3
Original file line number Diff line number Diff line change @@ -1032,7 +1032,7 @@ class PipelineWorker : public Napi::AsyncWorker {
10321032 (baton->formatOut == " input" && inputImageType == sharp::ImageType::HEIF)) {
10331033 // Write HEIF to buffer
10341034 sharp::AssertImageTypeDimensions (image, sharp::ImageType::HEIF);
1035- image = sharp::RemoveAnimationProperties (image). cast (VIPS_FORMAT_UCHAR) ;
1035+ image = sharp::RemoveAnimationProperties (image);
10361036 VipsArea *area = reinterpret_cast <VipsArea*>(image.heifsave_buffer (VImage::option ()
10371037 ->set (" keep" , baton->keepMetadata )
10381038 ->set (" Q" , baton->heifQuality )
@@ -1227,7 +1227,7 @@ class PipelineWorker : public Napi::AsyncWorker {
12271227 (willMatchInput && inputImageType == sharp::ImageType::HEIF)) {
12281228 // Write HEIF to file
12291229 sharp::AssertImageTypeDimensions (image, sharp::ImageType::HEIF);
1230- image = sharp::RemoveAnimationProperties (image). cast (VIPS_FORMAT_UCHAR) ;
1230+ image = sharp::RemoveAnimationProperties (image);
12311231 image.heifsave (const_cast <char *>(baton->fileOut .data ()), VImage::option ()
12321232 ->set (" keep" , baton->keepMetadata )
12331233 ->set (" Q" , baton->heifQuality )
You can’t perform that action at this time.
0 commit comments