php-image-converter
php-image-converter copied to clipboard
Method to convert to gd object and return that
May be good when using together with resize libraries.
Maybe just set null as second argument to do that.
Regarding WebP, there's this library, if you are interested in ways to improve stuff with your own, and Bjørn is very actively developing it.
Cheers! S1SYPHOS
@S1SYPHOS Thanks! These repos are quite different with different advantages. His uses multiple files, multiple image modules and many options, but not that many image formats to convert to/from. Mine only uses GD and has a single file, but can convert a larger range of formats both from and to, but has only a few options.
I think I'm going to keep it to my own repo. Maybe I'll add some minor things to it, but it already feel like I'm done already. It does what it should, in below 50 lines of code.
Wait with this issue until a resize library supports it. Else there will just be unused code for no reason.