Attachment | Size |
---|---|
preview.png | 246.63 KB |
remove_timestamp.scm | 3.36 KB |
remove_timestamp.py | 4.96 KB |
remove_timestamp_batch.py | 1.76 KB |
This script removes the timestamp imprinted on photos by digital cameras.
A friend had more than 400 photos with such a timestamp so I tried to get rid of it in a fast way. The script is a little quick'n'dirty but in most cases it's doing the job just fine. Better than I thought in the first place...
Clearly I didn't want to load all the photos manually, that's why wrote a script for batch processing. It processes all photos within a specified directory and selects the area with the timestamp. This script is no real Gimp plugin script. It's just pure python...
Copy the python_remove_timestamp.py into ~/gimp-2.6/plug-ins/ and make it executable
The batch loader can be placed where you want
gimp -i --batch-interpreter python-fu-eval --batch - < remove_timestamp_batch.py
UPDATE 2010-01-13: Because of the troubles with Python I've adapted the script also to Scheme.
UPDATE 2010-11-20: Fixed some bugs and set a larger timestamp selection in batch script.
Comments
Doesn't work...
Both the script and plug-in are ineffective for "out of the box" use in removing timestamps. The script should not need 4 additional steps on order to achieve success in removing the timestamps, especially for using in batch mode!
The instructions for use are too vague and confusing for users to follow.
Perhaps an update/fix is in order?
Add plug in remove timestamp to 2.6
I am not sure how to add the remove timestamp which is in script format. I would like to know if there is a plug-in and if not then how do I add this feature to my 2.6 version. I am running Vista. Thanks.
Don't understand batch input code?
I got the individual timestamp remover to work beautifully.
However, I am new to GIMP and Python, and have no idea how to enter that line of code for the batch processor. Can anyone offer step-by-step instructions for the batch? (i.e, which command prompt to put the code in, and line-by-line, exactly what to type)
Thank you so much!
batch version not working
Hi! I really like Gimp, I'm a windows and linux user and have gimp both in windows and debian.
For the moment, I have Windows Server 2003/GIMP 2.6.8/Python 2.6/Pycairo 1.8.6/pygobject 2.20/pygtk 2.16 set up and working.
'remove_timestamp.py' is working fine, but the 'remove_timestamp_batch.py' run from the command prompt fail with an error message that says it cannot find the 'python_remove_timestamp' procedure wich I saw is defined in the 'remove_timestamp.py'.
It looks like gimp, run from the command prompt, cannot find the 'remove_timestamp.py' plugin.
I copied the 'remove_timestamp.py' and 'remove_timestamp_batch.py' in the "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python" folder, and 'remove_timestamp.scm' in "C:\Program Files\GIMP-2.0\share\gimp\2.0\scripts".
I really need the batch version working, because I have hundreds of photos. Any clue?