-
Notifications
You must be signed in to change notification settings - Fork 530
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
Change file path for saving image to be optional #208
Comments
This is not possible for the moment as the It could be solved by passing some data about the source itself to the What you (@dmyers and others) think about this ? |
Oh I see what you're saying it just knows the resource, but not the path that is currently loaded. Wonder if some refactoring could bring this feature in? It does seem strange that |
This is doable but introduce a new concept. Let's think about this for version 0.6 |
Thanks @romainneutron, you rock! 👍 |
It looks like the
save()
function for images requires a file path.https://github.com/avalanche123/Imagine/blob/develop/lib/Imagine/Gd/Image.php#L190
What do you think of making it optional and if one isn't given defaulting to the currently loaded image like
resize()
would.The text was updated successfully, but these errors were encountered: