Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Remove headers from screenshots

+1
−0

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.

History

0 comment threads

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.

+1
−0

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).

History

0 comment threads

+0
−0

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".

History

0 comment threads

+0
−0

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."

History

0 comment threads

Sign up to answer this question »