How can I make screenshot of the part of the screen?
How can I make screenshot of the part of the screen?
I use Windows 8. I have coordinates of the part of the screen and I want to make screenshot only of that rectangle. How can I do it with ImageMagick?
Re: How can I make screenshot of the part of the screen?
If you have at least ImageMagick 6.8.9-0 you can do the following to take a screenshot of part of your screen:
The -crop operation cuts out a rectangle that is 100x100 at position 500x500. And if your computer has multiple monitors you can specify an index 'screenshot:[1]'.
Code: Select all
convert screenshot: -crop 100x100+500+500 sreenshot.png
Code: Select all
convert screenshot:[1] -crop 100x100+500+500 sreenshot.png