Siduction Forum > Scripting & Kernelhacking
[EN] Who could help: Script to resize and watermark images
pit:
@lanzi
I wrote this one a while ago:
http://paste.siduction.org/20160319163342
It does:
* Ask for the desired width
* Resizing
* Showing aperature, shutter speed, creation time (exif), focal length, name of your camera inside the image (visable)
* Writing Comment inside the image (optional)
* Renaming files (Date-Time/exif)
* Saving into subdirectory ./$resolution
* Correcting orientation (exif)It doesn't:
* touch the original files
* work recursivelyHow to use:
* Save as /usr/local/bin/resizepics
* (as root) chmod +x resizepics
* cd image directory
* run:
* resizepics [comment]Requirements:
* metacam
* perl
* exif
* imagemagick
* FreeSans.ttf
* Purisa-Bold.ttfTo Do:
* If there is more then one image with identical date/time there should be a uniq suffix in the target filename. Any ideas?
Navigation
[0] Message Index
[*] Previous page
Go to full version