Page 1 of 1

Jpg already in memory

Posted: 2016-11-21T11:09:07-07:00
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?

Re: Jpg already in memory

Posted: 2016-11-28T20:07:19-07:00
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.