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 984c3ae commit b91338cCopy full SHA for b91338c
lib/Imagine/Vips/Image.php
@@ -842,6 +842,17 @@ private function prepareOutput(array $options, $path = null): self
842
// FIXME: layer support, merge them if $options['animated'] != true or $options['flatten'] == true
843
}
844
845
+ /**
846
+ * @param $res
847
+ * @return mixed
848
+ */
849
+ protected function getImageStringForLoad(\Jcupitt\Vips\Image $res)
850
+ {
851
+ //return $res->pngsave_buffer();
852
+ //file_put_contents("foo.tiff", $res->tiffsave_buffer(['properties' => true, 'compression' => ForeignTiffCompression::NONE]));
853
+ return $res->tiffsave_buffer(['compression' => ForeignTiffCompression::NONE]);
854
+ }
855
+
856
/**
857
* Internal.
858
*
0 commit comments