There is a POS terminal, which has SUSE 9 and is running POS application.
I want to do a simple job with this terminal;
capture the current screen of POS application and save it as jpeg.
There are over 7000 terminals, so it is not possible to install "ImageMagick" over all of them.
I want to do remote copy only one executable like "import" to all the terminals.
Does anyone have a good idea for this, or can anyone tell me how to make it?
Thanks all!!!
Possible to extract only import out of ImageMagick package?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Possible to extract only import out of ImageMagick packa
imagemagick may be too big. import relies on many librarys and other functions, most of which you will not use.
All you really want is a simple X windows command such as "xwd" to 'dump' the display into a file.
That command is a fairly standard X window command, though you may need to install the package (or just copy the command). On my Fedora system it is installs as part of the "xorg-x11-apps" package.
You can then copy that 'X window dump' file to your main machine, and use Imagemagick to convert/crop/resize the image as you like.
NOTE X windows is also a network display program. If you have access to the authority cookie (see "xauth"), or open the display for access from your machine (using "xhost"), you can access the X window display remotely, and use import to get the remote display from your main machine! However using xwd remotely would probably be easier due to the security, your network setup may not allow raw remote Xwindow access across the network (my university doesn't).
All you really want is a simple X windows command such as "xwd" to 'dump' the display into a file.
That command is a fairly standard X window command, though you may need to install the package (or just copy the command). On my Fedora system it is installs as part of the "xorg-x11-apps" package.
You can then copy that 'X window dump' file to your main machine, and use Imagemagick to convert/crop/resize the image as you like.
NOTE X windows is also a network display program. If you have access to the authority cookie (see "xauth"), or open the display for access from your machine (using "xhost"), you can access the X window display remotely, and use import to get the remote display from your main machine! However using xwd remotely would probably be easier due to the security, your network setup may not allow raw remote Xwindow access across the network (my university doesn't).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/