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 1ff2cec commit 5d29a9cCopy full SHA for 5d29a9c
lib/Imagine/Vips/Image.php
@@ -762,6 +762,17 @@ private function prepareOutput(array $options, $path = null)
762
// FIXME: layer support, merge them if $options['animated'] != true or $options['flatten'] == true
763
}
764
765
+ /**
766
+ * @param $res
767
+ * @return mixed
768
+ */
769
+ protected function getImageStringForLoad(\Jcupitt\Vips\Image $res)
770
+ {
771
+ //return $res->pngsave_buffer();
772
+ //file_put_contents("foo.tiff", $res->tiffsave_buffer(['properties' => true, 'compression' => ForeignTiffCompression::NONE]));
773
+ return $res->tiffsave_buffer(['compression' => ForeignTiffCompression::NONE]);
774
+ }
775
+
776
/**
777
* Internal.
778
*
0 commit comments