Image::Magick to DB

Discussion in 'Perl Misc' started by Lars Haugseth, Feb 6, 2004.

  1. 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?

    --
    Lars Haugseth
     
    Lars Haugseth, Feb 6, 2004
    #1
    1. Advertising

  2. * Lars Haugseth <> wrote:
    |
    | 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.

    --
    Lars Haugseth
     
    Lars Haugseth, Feb 6, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric McDaniel

    Image::Magick and Tk::Photo

    Eric McDaniel, Aug 30, 2003, in forum: Perl
    Replies:
    2
    Views:
    1,617
    Joseph Brenner
    Sep 20, 2003
  2. Weapons of Mass Destruction

    Trying to get Image::Magick to work on a remote server

    Weapons of Mass Destruction, Nov 15, 2003, in forum: Perl
    Replies:
    3
    Views:
    542
    Gunnar Hjalmarsson
    Nov 15, 2003
  3. Tommy Butler

    Image::Magick "geometry" atribute ??

    Tommy Butler, Jul 20, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    182
  4. Rob Bell
    Replies:
    4
    Views:
    225
    Martien Verbruggen
    Sep 10, 2003
  5. Jack
    Replies:
    2
    Views:
    221
    John W. Krahn
    Jan 25, 2008
Loading...

Share This Page