finding pixel position in imagemagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 61
Joined: 2009-01-30T22:31:26-07:00

finding pixel position in imagemagick

Post by manit » 2017-11-08T07:41:29-07:00

i opened an image using GUI of imagemagick in ubuntu 16.04.3(64bit) .
Now I zoomed into the image .
I want to know the pixel position of my mouse .
Actually my aim is to manually locate pixel position of a particular chessboard square corner in image .
In paintbrush in windows , it is simply hovering the mouse over desired point and status bar shows the x,y coordinate.
How do I do this in imagemagick ?


PS:I will post imagemagick version as soon as I can.

User avatar
Posts: 22087
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

Re: finding pixel position in imagemagick

Post by fmw42 » 2017-11-08T10:35:15-07:00

I do not know if this will work on your system. One used to be able to do something like option click or command click and get the cursor location. But on my system if I select EDIT then CUT and move the cursor over the image, the X,Y location of the cursor shows. I am on a Mac using XQuartz. But the X11 that I used to have before Apple stopped using it, worked the older way.

Post Reply