Skip to content

Commit

Permalink
Correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Sep 19, 2024
1 parent cf40c11 commit 53a28b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Imagick/Encoders/TiffEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function encode(ImageInterface $image): EncodedImageInterface
$imagick->setCompressionQuality($this->quality);
$imagick->setImageCompressionQuality($this->quality);

// encoding fails with Imagick::writeImageFile() for JP2 format
// encoding fails with Imagick::writeImageFile() for TIFF format
// the reasons are unknown, but could be fixed by Imagick/Imagemagick
// in the future. Until then, I use getImagesBlob() for Jpeg2000.
return new EncodedImage($imagick->getImagesBlob());
Expand Down

0 comments on commit 53a28b7

Please sign in to comment.