Can someone please post a simple example of reading an image stream from 
imagemagick?

So something like this (though this doesn't work):

cmd = `convert img.png <do some imagemagick things that I wish I could do 
with Images.jl but are only possible with imagemagick> -compress none ppm:-`
I = imread(readall(cmd),Images.PPMBinary)

I'm trying to avoid writing the image imagemagick created to disk and read 
it straight into julia. The readall(cmd) part works awesome, it spews all 
the image "bits" to the stdout. But I can't get imread to pick it up as an 
image.

Thanks in advance!

Reply via email to