LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ImageMagick (https://www.linuxquestions.org/questions/linux-software-2/imagemagick-4175499131/)

dmchess 03-22-2014 04:17 PM

ImageMagick
 
Using the display program I would like to display an image anywhere on the screen I want. I was looking at the geometry and gravity options, but I am not sure how to set it up.
Thanks in advance,

Terry

sag47 03-22-2014 05:19 PM

There's no question in there. Please be concise and reformulate your question.

dmchess 03-22-2014 05:44 PM

Ok, my questgion is somewhat inferred. But not that hard to see what I want. I want to know what parameters to use to place the image at a specific x-y coordinate on my monitor. The image is being generated by a machine and I have a process that is displaying the image. I want it to display in the right hand corner of my screen out of the way, but easily monitorable.

sag47 03-22-2014 06:23 PM

Quote:

Originally Posted by dmchess (Post 5139502)
Ok, my questgion is somewhat inferred.

Please do not assume English is the primary language of all the users this forum. It's better to explicitly state your question so that others who may know how to do what you want but can't process what you're inferring. I had no idea what you were asking and English is my primary language.

Quote:

Originally Posted by dmchess (Post 5139502)
I want to know what parameters to use to place the image at a specific x-y coordinate on my monitor. The image is being generated by a machine and I have a process that is displaying the image. I want it to display in the right hand corner of my screen out of the way, but easily monitorable.

In any case, check out the display(1) command of imagemagick. I don't use imagemagick much but a quick google search and man page skim points me that might be what fits the bill for you.

Code:

EXAMPLES
      To scale an image of a cockatoo to exactly 640  pixels  in
      width  and 480 pixels in height and position the window at
      location (200,200), use:

          display -geometry 640x480+200+200! cockatoo.miff

From the same man page, the -geometry option help.
Code:

      -geometry <width>x<height>{+-}<x>{+-}<y>{%}{@} {!}{<}{>}
              preferred size and location of the Image window.


John VV 03-22-2014 06:43 PM

be aware --
"*.miff" is the imagemagick internal image format

used only by imagemagick


there is a NEW'ish program that is replacing most things IM can do - and dose it way faster

Gmic
http://gmic.sourceforge.net/
a Gimp plugin and a MUCH better terminal graphics program


All times are GMT -5. The time now is 08:11 AM.