Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't save() after get() #142

Open
itaibh opened this issue Oct 8, 2017 · 3 comments
Open

Can't save() after get() #142

itaibh opened this issue Oct 8, 2017 · 3 comments

Comments

@itaibh
Copy link

itaibh commented Oct 8, 2017

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

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

@soullivaneuh
Copy link
Collaborator

Could you please be more specific?

Maybe a code sample would be a good start.

@itaibh
Copy link
Author

itaibh commented Oct 23, 2017

<?php use Gregwar\Image\Image;

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

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

@soullivaneuh
Copy link
Collaborator

Also, could you please provide the error you got?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants