[magick-users] import | convert

Carl Karsten carl at personnelware.com
Sat Jul 8 09:19:18 PDT 2006


There is something wrong with piping output from import into identify or convert.

In the following, I am dragging the box around the word "Loading" - each time 
the box isn't exactly the same, but it is close enough - not enough to cause the 
behavior I am seeing.

carl at amd15:~/gocr$ import - | identify -
/tmp/magick-XXSFiexS PS 2624x1968 2624x1968+0+0 DirectClass 14.8mb 0.290u 0:02

carl at amd15:~/gocr$ import test.miff | identify test.miff
test.miff MIFF 71x29 2624x1968+854+1105 DirectClass 12kb

The problem came up trying to pipe into convert:
carl at amd15:~/gocr$ import - | convert - pgm:- |gocr -

Eventually I want to get the resulting text such that I can paste it into an 
email message.  xclip is close, but that "selects" the text, and Thunderbird 
doesn't seem to use the "selected" text when you hit Paste or Shift+Ins.

Carl K


More information about the Magick-users mailing list