Image icon indicating copy to clipboard operation
Image copied to clipboard

Can't save() after get()

Open itaibh opened this issue 8 years ago • 3 comments

Or can't save() twice in a row.

How do I get the image data without changing the GD stream status?

itaibh avatar Oct 08 '17 14:10 itaibh

Could you please be more specific?

Maybe a code sample would be a good start.

soullivaneuh avatar Oct 23 '17 09:10 soullivaneuh

<?php use Gregwar\Image\Image;

$image = Image::open('in.png');

$image->save("filename1.png");
$image->save("filename2.png"); // <---- this line will fail

itaibh avatar Oct 23 '17 10:10 itaibh

Also, could you please provide the error you got?

soullivaneuh avatar Dec 04 '17 09:12 soullivaneuh