We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
auto mask or fuzz out text on jpgs
Options

bigfreddiel
Posts: 4,263 Forumite
in Techie Stuff
i have a few thousand jpgs with the date time embedded in the image - its not data that i can edit out - its part of the image.
is there any s/w or method ican use to mask or fuzz out the date in bulk - the ata is always in the same place and size so I can specify where and how big an area to blur out.
any advice welcomed
is there any s/w or method ican use to mask or fuzz out the date in bulk - the ata is always in the same place and size so I can specify where and how big an area to blur out.
any advice welcomed
0
Comments
-
bigfreddiel wrote: »i have a few thousand jpgs with the date time embedded in the image - its not data that i can edit out - its part of the image.
is there any s/w or method i can use to mask or fuzz out the date in bulk - the data is always in the same place and size so I can specify where and how big an area to blur out.
any advice welcomed
It's definitely possible to do this with the Imagemagick library. It's a free library which makes it even better :j
The convert tool from Imagemagick also allows for batch processing of many thousands of images.
There are a variety of techniques that you could use to hide the date text.
you could..
Crop the images, or
Overwrite the dateline with a solid colour background, or
Fuzz the dateline with a pixelate mask
Or you could be really clever and..- create a mask that exactly overlays the text of the date line
- cut out that mask to leave a transparent hole in the image
- blur the image to fill the hole using the surrounding colours
- do a 3-layer overlay of the original image, the mask and the blurred image
From here... http://www.imagemagick.org/Usage/photos/#removing
See also here... http://www.imagemagick.org/discourse-server/viewtopic.php?p=41498#p414980 -
If you were going to do this professionally, you would need to:
- Discover the typeface and font point used by the camera for the date/time stamp
- Use identify from Imagemagick to obtain the DateTime value from EXIF metadata for each image
- Create a unique mask for the date/time stamp in each image, based on 1. and 2. above
- Cut out that mask to leave a transparent hole in the image
- Blur the image to fill the hole using the surrounding colours
- Do a 3-layer overlay of the original image, the mask and the blurred image
See http://www.imagemagick.org/Usage/photos/#exif
And http://en.wikipedia.org/wiki/Exchangeable_image_file_format#Example0 -
that sounds just what i want to do cheers fjIt's definitely possible to do this with the Imagemagick library. It's a free library which makes it even better :j
The convert tool from Imagemagick also allows for batch processing of many thousands of images.
From here... http://www.imagemagick.org/Usage/photos/#removing
See also here... http://www.imagemagick.org/discourse-server/viewtopic.php?p=41498#p414980
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards