RSS/Atom feed Twitter
Site is read-only, email is disabled

removing timestamps from a photo

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

removing timestamps from a photo Mag Gam 19 Dec 15:13
  removing timestamps from a photo Greg Chapman 19 Dec 15:35
   removing timestamps from a photo GSR - FR 19 Dec 16:10
  removing timestamps from a photo Chris Mohler 19 Dec 18:41
   removing timestamps from a photo Mag Gam 19 Dec 23:13
    removing timestamps from a photo Chris Mohler 20 Dec 18:22
     removing timestamps from a photo Mag Gam 20 Dec 19:58
Mag Gam
2010-12-19 15:13:43 UTC (about 14 years ago)

removing timestamps from a photo

I have taken several hundred photos with my Nikon D3100. I've enabled the date time stamp therefore I see a bright yellow time stamp on the lower right corner. I would like to remove this time stamps. I was wondering what is the best way to do this in batch?

Thanks in advance!

Greg Chapman
2010-12-19 15:35:06 UTC (about 14 years ago)

removing timestamps from a photo

Hi Mag,

On 19 Dec 10 15:13 Mag Gam said:

I would like to remove this time stamps. I was wondering what is the best way to do this in batch?

You cannot simply "remove" pixels from an image, you can only "replace" pixels of one colour with pixels of another.

If you plan a batch operation then I assume you're are asking to replace the area containing the time stamp with a rectangular block of some colour. Is this your intension?

Another option would be to crop every image to exclude the timestamp from the resulting file.

You might be able to develop a script that would implement a simplistic bleeding of the colours surrounding the time stamp into the area occupied by the timestamp, but such an approach would create a very blurry mess likely to make the resulting image unacceptable.

If you hoped to magically blend out the timestamp replacing it with the colours that would have been there had the camera not added the timestamp, then forget it. You cannot do that as a batch operation as every image would need to be treated individually.

Greg Chapman http://www.gregtutor.plus.com
Helping new users of KompoZer and The GIMP

GSR - FR
2010-12-19 16:10:37 UTC (about 14 years ago)

removing timestamps from a photo

Hi,
gregtutor at yahoo.co.uk (2010-12-19 at 1535.06 -0000):

Hi Mag,

On 19 Dec 10 15:13 Mag Gam said:

I would like to remove this time stamps. I was wondering what is the best way to do this in batch?

[...]

If you hoped to magically blend out the timestamp replacing it with the colours that would have been there had the camera not added the timestamp, then forget it. You cannot do that as a batch operation as every image would need to be treated individually.

If the time stamp is always the same colour and in the same place, the script could select that colour, (grow the selection a bit,) then intersect the selection with a rectangle to limit it to the zone where the numbers appear. Finally run an inpainting filter, like the one in CImg/GMIC. Depending on the image it will look more or less obvious.

GSR

Chris Mohler
2010-12-19 18:41:44 UTC (about 14 years ago)

removing timestamps from a photo

On Sun, Dec 19, 2010 at 9:13 AM, Mag Gam wrote:

I have taken several hundred photos with my Nikon D3100. I've enabled the date time stamp therefore I see a bright yellow time stamp on the lower right corner. I would like to remove this time stamps. I was wondering what is the best way to do this in batch?

I've not used it, but here:
http://registry.gimp.org/node/15187

HTH, Chris

Mag Gam
2010-12-19 23:13:38 UTC (about 14 years ago)

removing timestamps from a photo

Chris,

This helps a lot and it works! Is there any documentation for this plug-in? I am curious to figure out what the other options are for...

Rhino, Thanks. I have thought of it. The pictures look really bad with the time stamp.

On Sun, Dec 19, 2010 at 1:41 PM, Chris Mohler wrote:

On Sun, Dec 19, 2010 at 9:13 AM, Mag Gam wrote:

I have taken several hundred photos with my Nikon D3100. I've enabled the date time stamp therefore I see a bright yellow time stamp on the lower right corner. I would like to remove this time stamps. I was wondering what is the best way to do this in batch?

I've not used it, but here:
http://registry.gimp.org/node/15187

HTH, Chris

Chris Mohler
2010-12-20 18:22:06 UTC (about 14 years ago)

removing timestamps from a photo

On Sun, Dec 19, 2010 at 5:13 PM, Mag Gam wrote:

This helps a lot and it works! Is there any documentation for this plug-in? I am curious to figure out what the other options are for...

Just quickly scanning the plug-in code, it seems that:

This one should be pretty self-explanatory :) "Color of timestamp" = the timestamp color

These 5 control how aggressively the selection is made and filled in: "Threshold" = analogous to the threshold level on the fuzzy select and global color select tools
"Grow selection after color select" = same as Select->Grow from the menu "Grow selection befor spread" = same as Select->Grow "Spread count" = number of times to spread (see below) "Spread value" = same as Filters->Noise->Spread

I'm not clear on these two: "Offset count"
"Offset value"

I also quickly looked at the batch script, and it looks like you would need to edit it a bit to make it work - eg changing the path to your files, and editing the settings in this function: pdb.python_fu_remove_timestamp
so that they match the settings used when running the plug-in by hand.

HTH, Chris

Chris

Mag Gam
2010-12-20 19:58:41 UTC (about 14 years ago)

removing timestamps from a photo

Chris,

Thanks again for this page. I used the batch process and everything is working fine now!

I appreciate your time and patience.

On Mon, Dec 20, 2010 at 1:22 PM, Chris Mohler wrote:

On Sun, Dec 19, 2010 at 5:13 PM, Mag Gam wrote:

This helps a lot and it works! Is there any documentation for this plug-in? I am curious to figure out what the other options are for...

Just quickly scanning the plug-in code, it seems that:

This one should be pretty self-explanatory :) "Color of timestamp" = the timestamp color

These 5 control how aggressively the selection is made and filled in: "Threshold" = analogous to the threshold level on the fuzzy select and global color select tools
"Grow selection after color select" = same as Select->Grow from the menu "Grow selection befor spread" = same as Select->Grow "Spread count" = number of times to spread (see below) "Spread value" = same as Filters->Noise->Spread

I'm not clear on these two: "Offset count"
"Offset value"

I also quickly looked at the batch script, and it looks like you would need to edit it a bit to make it work - eg changing the path to your files, and editing the settings in this function: pdb.python_fu_remove_timestamp
so that they match the settings used when running the plug-in by hand.

HTH, Chris

Chris