You are here

Batch watermarking and resizing

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

This plug-in is designed for batch watermarking and resizing of image files. It lets you choose the directory which contains the images, the file extension, the font, the copyright text and the options associated with the processing. Useful for photographers who upload a lot of photos on the web and don't want to watermark every single file individually. The resulting images contain between one and four instances of the copyright text (selectable as an option). Also, if you select a single instance of the text, the position of the text can be set to the top, middle or bottom part of the image.

There is also a second watermarking script, which is based on a difference map. The watermark text is practically invisible, but can be easily recovered by using the original (non-watermarked) image. This is useful when an image needs to be protected but the text must not be visible for aesthetic reasons.

At present, the script does not perform any sanity checks, so don't give it single-pixel images to process :). Also, it takes a while to finish if there are a lot of images, especially if they are large, so stock up on patience!

As far as I can judge, it should work with all releases of GIMP which support python-fu.

Enjoy!

##############

Edit (Version 1.04)

Added options to select the position and/or number of text lines in the bump map watermark script

##############

Edit (Version 1.03)

Improved speed and reduced memory footprint
Added a new watermarking technique, which is useful for cases where the visual impact on the image must be minimal

##############

Edit (Version 1.02)

Added a few tweaks to the watermarking script (including better handling of file extensions)
Moved the menu entry to Tools->Batchwork
Added a batch resizing script which is aware of the image orientation. Useful for fitting images into square div elements on web pages.

##############

Edit (Version 1.01)

As suggested, I updated the script so that it allows you to choose the output directory. If you want to replace the original files, just make the output directory the same as the input one.

AttachmentSize
batchwork.py17.92 KB
GIMP Version: 
Code License: 

Comments

Hi Alexander,

Thanks for the excellent work on the watermark feature!
A couple of improvements.
Is it possible to implement a cancel or stop button to stop the batch process?

Realise that when performing the batch process of watermarking, the image size also reduces dramatically. Is it possible to retain the original size?

For the resize function script, is it possible to resize exactly to 3872x2581 rather than rounding off to 3000x2000? My 10MB file is reduced to 1MB or less after resizing. Worry that there might be loss of details.

Also, the output directory doesn't seem to work. I had created a separate folder and the files didn't get process to there but rather to the default destination though it was specified in the out directory.

Great Job! : )

Pages

Subscribe to Comments for "Batch watermarking and resizing"