php-image-optim
php-image-optim copied to clipboard
Support setting input image data by string and getting output image data
It would be very useful to skip writing files to disk where possible.
Some of the tools (for instance jpegoptim) support reading from stdin and/or writing to stdout.
It would be very nice to leverage this functionality where possible, and where the tool does not support it, to fake it by transparently writing a temporary file.