java: get image blob from command line

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
djmon84
Posts: 8
Joined: 2010-04-05T04:55:59-07:00
Authentication code: 8675308

java: get image blob from command line

Post 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!)
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: java: get image blob from command line

Post by GreenKoopa »

You could write the image to standard output in ImageMagick's file format using miff:- Can you capture this in java?
Post Reply