Image::Magick to DB

L

Lars Haugseth

The Image::Magick module features methods Read() and Write()
for reading/writing image data from and to a file or a file
handle.

I need to read and write data to and from a scalar. Can I do
this with Image::Magick without having to store the image data
in a temporary file?
 
L

Lars Haugseth

|
| The Image::Magick module features methods Read() and Write()
| for reading/writing image data from and to a file or a file
| handle.
|
| I need to read and write data to and from a scalar. Can I do
| this with Image::Magick without having to store the image data
| in a temporary file?

I found the answer to this myself. There are methods ImageToBlob()
and BlobToImage() that does exactly this. I'm sorry I wasted your
time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,779
Messages
2,569,606
Members
45,239
Latest member
Alex Young

Latest Threads

Top