I'm probably a special case in that I'm doing some nutty things with Amazon S3, but I'd like to be able to use an S3 class to fetch the binary image data, pass that into PHPThumb, and (besides show and save) add a third option for returning the processed binary image data to a variable that I can use to write back to S3.
Basically, I'd like the entire resizing/converting process to happen in memory, so that I can pull from (and push to) S3 without having to create temporary files on disk or be forced to output them to the buffer.
Within a few minutes I was able to write a plugin that did the memory output, but I don't seem to be able to pass image data in without hacking on the core library — and that's not something I want to have to do.
Thanks!