xwd -root |convert - -resize 100x100 test.jpg

computer2know :: thank you for your visit :: have a nice day :: © 2018