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

Create the output directory before calling save() #42

Open
gnutix opened this issue Aug 16, 2019 · 1 comment
Open

Create the output directory before calling save() #42

gnutix opened this issue Aug 16, 2019 · 1 comment

Comments

@gnutix
Copy link

gnutix commented Aug 16, 2019

I had the issue that Imagick crashed if the folder I want to save the image in does not yet exist. Couldn't this library implement such a feature before saving images, first to ensure it works as one could except by default and avoid repetition in user-land implementations ?

@oscarotero
Copy link
Owner

Yep, it's a good idea. Do you want to work on a pull request? I think it should be solved here: https://github.com/oscarotero/imagecow/blob/master/src/Image.php

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