Page 1 of 1

java: get image blob from command line

Posted: 2013-06-05T07:38:42-07:00
by djmon84
Hello all!

I'm developing a program with java that uses imagemagick in command-line directly (not with jmagick).
I need to get the image blob as a result of convert, and after search and search i have not found anything.
With jmagick is very easy to get/output the blob using the methods "blobToImage" and "imageToBlob", but i can't use jmagick because it lacks stability in some operations.
With command line, how can i get the image blob directly instead of writing to file and then reading it again?

Thank you!

(Sorry for my english!)

Re: java: get image blob from command line

Posted: 2013-06-05T07:51:22-07:00
by GreenKoopa
You could write the image to standard output in ImageMagick's file format using miff:- Can you capture this in java?