get the content of an image object in PHP
<p>I'm trying to get the raw data that is created by imagejpeg() in PHP. I need to cache the content since the function generating the image is kind of slow. I know I can provide a 2nd parameter, but that's not what I want.</p>

<p>Thx</p>
