Results 1 to 1 of 1

Thread: To make a hi-res screenshot with Imagemagick

  1. #1
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    To make a hi-res screenshot with Imagemagick

    Used Gnome-screenshot a lot but it only provides a low-res png; so reading around found there is functionality on Gimp to produce a tiff screenshot but it is clumsy as it cannot be used from command line and there is need to open the full GUI first; so reading further there is Imagemagick

    Code:
    sudo apt install imagemagick

    Now then I want it to produce an image in tiff in the 10MB range so I have detail on it; something I can then work with
    Thing is if you use it from command line with no time delay it will also shoot your terminal .... NOT optimal; so there use the sleep program

    Set on desktop what you want shot then give yourself time to get terminal out of the way; anytime you want it back enter CTRL+R in terminal and type screen or sl if you have not got anything else starting with that ... and there a fairly supple hi-res screenshot easily obtained


    Code:
    sleep 5s &&  import -window root Desktop/Screenshot.tiff #screen
    Last edited by shantiq; August 30th, 2021 at 12:18 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •