We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22adb7 commit 3d90c96Copy full SHA for 3d90c96
lib/Imagine/Vips/Image.php
@@ -846,6 +846,17 @@ private function prepareOutput(array $options, $path = null): self
846
// FIXME: layer support, merge them if $options['animated'] != true or $options['flatten'] == true
847
}
848
849
+ /**
850
+ * @param $res
851
+ * @return mixed
852
+ */
853
+ protected function getImageStringForLoad(\Jcupitt\Vips\Image $res)
854
+ {
855
+ //return $res->pngsave_buffer();
856
+ //file_put_contents("foo.tiff", $res->tiffsave_buffer(['properties' => true, 'compression' => ForeignTiffCompression::NONE]));
857
+ return $res->tiffsave_buffer(['compression' => ForeignTiffCompression::NONE]);
858
+ }
859
+
860
/**
861
* Internal.
862
*
0 commit comments