Jpg already in memory

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
6bit
Posts: 2
Joined: 2016-11-21T11:02:09-07:00
Authentication code: 1151

Jpg already in memory

Post by 6bit »

I wish to process an jgp image with perlMagick.
It is exists in a perl variable (in memory) rather than in a file.
I don't see how to process it from this state, must I write it out
to a file to process it or can it be parsed and inserted into perlMagick directly?
6bit
Posts: 2
Joined: 2016-11-21T11:02:09-07:00
Authentication code: 1151

Re: Jpg already in memory

Post by 6bit »

OK, I found the answer in the docs: what I have is a "Blob".
I can easily "read" the Blob into PerlMagick as an image.
Works like a charm.
Post Reply