Created
February 13, 2023 16:41
-
-
Save lincerely/c119702af977032339bc52d40664c037 to your computer and use it in GitHub Desktop.
take X11 screenshot and output PNG to STDOUT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#xsshot.sh - take X11 screenshot and output PNG to STDOUT | |
xwd | xwdtopnm | pnmtopng |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment