4 ms·
import png:-|xclip -selection clipboard -t image/png -i Copy a selected rectangle of the screen into clipboard
by loulouxiv 5y ago
import png:-|xclip -selection clipboard -t image/png -i
Copy a selected rectangle of the screen into clipboard
- smusamashah 5y agoWhat is import? Does it read text from image?
- mercora 5y agoimport is part of ImageMagick and "saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen."
- _def 5y agonice! I extended it to a little shell script so it gets written to a file, too.