Search found 2 matches

by geordie
2011-01-28T11:11:22-07:00
Forum: PerlMagick
Topic: Initialize Image from string?
Replies: 4
Views: 21157

Re: Initialize Image from string?

That will save me the earlier step of base64 decoding it myself but I don't think it answers the question I was asking. I need to know how to initialize an Image from a variable instead of a file. In other words I am looking for something akin to: $image->ReadImageFromString("$myPNG"); or ...
by geordie
2011-01-26T15:38:39-07:00
Forum: PerlMagick
Topic: Initialize Image from string?
Replies: 4
Views: 21157

Initialize Image from string?

Is it possible to use a string to initialize an Image? I have a cgi that receives a bunch of files in a POST request some of which are PNG files. The current workflow is all those files are saved into a zip file with Archive::Zip. I would like to make sure the PNGs do not have transparency before pu...