If you dig through the commit history of Images.jl, at some point you'll find the commit that switched from using Cmd to the C api for interacting with ImageMagick. That should have quite a few examples.
--Tim On Thursday, May 14, 2015 05:25:19 AM Yakir Gagnon wrote: > 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!
