I installed ImageMagick on OS X using macports (I don't think it matters, but just in case)
I am using the following:
$im = new imagick($src . '[0]'); $im->setImageFormat('png'); header("Content-Type: image/png" ); echo $im;
and I get a good pdf to png conversion. Every time I do this, I get a file like:
magick-23Iwt3tG
in / private / var / tmp. They do not seem to be deleted automatically.
Do I need to delete them manually or is there an option that I can set so that they are automatically deleted? (I donβt want the result to be that these files are hanging around)
php imagemagick
Jason
source share