-
Notifications
You must be signed in to change notification settings - Fork 310
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 from GD object #140
Labels
Comments
According to the one of image functions, the I think we should consider following points if the author @adityapatadia will accept this feature request.
|
How about adding conversion functions to this library itself? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just written a converting library to convert all the common image formats from/to.
https://github.com/jenstornell/php-image-converter
free-open-source/php-image-converter#2
The pitfall of using it with this library is that I need to save the image two times, one for the format conversion and one for the resize.
That's because I can't create an image from a GD object. Here is a suggestion of how that could look like.
https://www.php.net/manual/en/function.imagejpeg.php
https://www.php.net/manual/en/function.imagepng.php
https://www.php.net/manual/en/function.imagewebp.php
https://www.php.net/manual/en/function.imagegif.php
The text was updated successfully, but these errors were encountered: