It is currently Tue Aug 25, 2026 12:53 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Batch Image Manipulation script HOW to do this
PostPosted: Tue Aug 28, 2018 6:53 am  (#1) 
Offline
New Member

Joined: Aug 28, 2018
Posts: 1
I have nearly 1000 png files to which I need to add a small grey line across the middle.
Each image is going to be the same size of 115px wide and 40px high.

So the line will need to be at 20px height i.e. halfway and run for 115px i.e. all across the image.

I want to have this in a way that i can use the BATCH MANIPULATION TOOL to add this line to all 1000 images in one go

I am new to gimp and need some help on this please ASAP


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Batch Image Manipulation script HOW to do this
PostPosted: Tue Aug 28, 2018 7:18 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Gimp is the wrong tool for this. IMHO if all images are the same size, what you want to do it use ImageMagick's "compose" utility to overlay a 115x40 image with just a thin line on transparent background over all your images.

convert input.png line.png -gravity center -composite input-with-line.png


Of course you make a shell script to apply this over your 1000 files. In recent version the actual command is likely "magick convert".

Imagemagick has a nice forum, too.

_________________
Image


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group