Anthony Thyssen writes: > "Dean S. Messing" on wrote... > | Suppose I have a 1000x1000 image named im.png. > | > | If I execute `display -geometry 200x200 im.png' I get > | a 200x200 "viewport" of the image aligned at the top left corner. > | > | How do I move the viewport on the command line? > | > | Add offests, say `display -geometry 200x200+150+300 im.png', just > | moves the X-window on the desktop but the contents are the same. Basically > | I'd like to "pan" the image from the commandline. > | > That would be useful. > > My first guess would have been to use -page. > > display -page 200x200+50+50 im.png > > However while that opens a 200x200 window, it positions the window > not the image. > > Actually that probably should have been... > display -page 200x200-50-50 im.png > > As "page" sets an images virtual canvas, then places the image on that > canvas at the offset requested on that virtual canvas As such the above > would move the top-left pixel o fthe actual to -50-50 on the virtual > canvas. > <large snip>
Thanks, Anthony, for all the information and things to try. A lot to aborb. So little time! _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
