Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting Page Number Along With Additional Information
#7
(02-08-2020, 11:50 AM)rich2005 Wrote: I will put this up because it is Gimp Wink Although ImageMagick is preferable and I have not used Irfanview in more than a dozen years.

A plugin add_text-mod.py that will add the file name prefix to the image, so there are caveats.
- file names 001.ext 002.ext 003.ext, which might already be there if the pages are scanned or will need a file name re-namer
- The text is fixed in the script (line 21). It will need editing for Introduction / Chaper / Book XX Use a Windows text editor such as Notepad++
- Works on existing saved / exported images 

Unzip and the plugin  add_text-mod.py  goes in C:\Users\"yourname"\.gimp-2.8\plug-ins  You can try on an existing image as: https://i.imgur.com/hOoBR9e.jpg

For multiple images: You will need to apply to groups of images for Introduction / Chapter..etc using the Gimp batch plugin BIMP 
https://github.com/alessandrofrancesconi.../tag/v1.18
Use 'Other Gimp procedure' search for add text, with settings as: https://i.imgur.com/qx1DweE.jpg

Thanks everyone.

Rich

I think this will work fine for this application. I have to rename all the images anyway.

Problem.

Add filename box ... is not active in the menu. I tried selecting the image, that didn't work. Tried ,jpg, .png, .tif formats and that didn't work.

----

update:

I changed Mode from Grayscale to RGB and now it works. Thanks

----

update:

Works like needed, except text box is located from edge of image to edge of text box. If I change the x offset to get Chapter 1 - Page 1 - Book II centered, then Chapter 1 - Page 999 - Book II is offset from center.
Reply


Messages In This Thread
RE: Inserting Page Number Along With Additional Information - by Gimpy222 - 02-08-2020, 02:58 PM

Forum Jump: