Remove headers from screenshots
I have pictures from screenshots, and the way I took those screenshots, the header bar of the window is included.
How to get rid of it?
I'm using Linux and have gimp and ImageMagick installed but don't need and use both of them often.
Thanks for the two answers suggesting "crop".
I should have mentioned that I have a lot of those, and don't want to have to place a rectangle with my shaky hands each time.
The pictures are of different size and some are even embedded inside of a transparent frame (as the original window had rounded edges) but the header to be removed looks the same height in all of them.
3 answers
You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.
Any remotely competent image edit software allows you to do cropping. I'm not familiar with the two you mentioned, but it's quite likely they can do that.
Look in the documentation for "crop" or "cropping".
0 comment threads
Batch processing
GIMP and ImageMagick both have batch processing capabilities, which would allow you to process most or all of your screenshots at once.It will probably be a matter of using the crop tool to cut off (or keep) either a set number of pixels or a defined percentage of each picture's height. You can probably get rid of the transparent border while you're at it.
GUI
To do it graphically, your best bet seems to be the GIMP plugin known as BIMP, which you will probably need to install. There's a tutorial here: How to Do Batch Processing in GIMP.Command line
If you're comfortable with the command line, Imagemagick's -crop option might suit you better. That way, once you've found the right settings, you can write a script to automate the task for future screenshots.Instructions: ImageMagick Command Line Options. Take a look at the -trim option too (for removing borders).
0 comment threads
In GIMP, you can use the Rectangle Select tool to select the area you want to preserve, and then under the Image menu select "Crop to selection."

0 comment threads