in reply to how do i convert from tiff to png images
PerlMagick doesn't have a convert method. If you write the file it will automatically convert it based on the saving extension. You would think the docs would have an example or mention such a common task.
So if this is something you are not going to be doing on every request, I would just save it to a temp file with a ".png" extension, read it back in and store it wherever you wanted it in the first place.
-Lee
"To be civilized is to deny one's nature."