Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch Numbering Images
#3
Much hunting through my archives but not able to find any easy GUI way using Gimp (or BIMP for batch operation)

...then it all depends on the source images. 

If it just a background then there is a plugin to create "number" layers and add the background image - say for making raffle tickets.

If the images are different but the same size then adding them as layers and interleaving number layers is a possibility.

Otherwise Imagemagick as Pixlab indicates. This is my script for linux. Uses the magick appimage. Sorry not much use at Windows batch files these days

Code:
#!/bin/bash

# run as an executable in the image folder otherwise it does not increment
# change image format to suit.

N=1
for f in *.png; do

# Generate the annotation text in whatever format is desired
   annotation=$(printf "Image: %03d" $N)

#set the font / size /position - put the ttf in same directory as images

   magick "$f" -fill white -undercolor '#00000080' -gravity South -font albrertusbold.ttf -pointsize 24 -annotate +0+5 "$annotation" -set filename:orig %t %[filename:orig].jpg

   ((N=N+1))
done
Reply


Messages In This Thread
Batch Numbering Images - by gmpuser - 09-15-2024, 07:55 PM
RE: Batch Numbering Images - by PixLab - 09-16-2024, 01:48 AM
RE: Batch Numbering Images - by rich2005 - 09-16-2024, 10:07 AM
RE: Batch Numbering Images - by denzjos - 09-16-2024, 11:13 AM
RE: Batch Numbering Images - by PixLab - 09-16-2024, 01:18 PM
RE: Batch Numbering Images - by denzjos - 09-17-2024, 04:03 PM
RE: Batch Numbering Images - by gmpuser - 09-17-2024, 02:20 PM

Forum Jump: