[NBLUG/talk] ImageMagic

Steve Smith sjs at sonic.net
Thu Aug 5 20:36:32 PDT 2004


Do we have any ImageMagick pro's out there?

I'm trying to cut a piece out of a postscript file and
convert the result to png.  The closest I have come so far
is
    convert -crop 500x700+30+50 file.ps file.png
and this sort of works, but I end up with the image offset
by 30+50 pixels.  I tried using -geometry and -crop in every
combination I can think of and also -chop, but nothing seems
to work as I'd expect.

First I must misunderstand crop because I would expect it to
just cut my image -- I don't understand why the offset goes
with the image.

And second -- assuming that crop is the right operator, how
do I remove the offset?

Thanks
Steve S.





More information about the talk mailing list