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
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

Comments

  • asbokid
    asbokid Posts: 2,008 Forumite
    edited 31 May 2011 at 3:53AM
    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..
    1. create a mask that exactly overlays the text of the date line
    2. cut out that mask to leave a transparent hole in the image
    3. blur the image to fill the hole using the surrounding colours
    4. do a 3-layer overlay of the original image, the mask and the blurred image
    zelda_text.jpgzelda_text_mask.gifzelda_mask_overlay.jpgzelda_text_fill.jpgright.gifzelda_text_removed.png



    duck.pngduck_mask.gifduck_hole.pngduck_close2.pngright.gifduck_removal_blur.png

    From here... http://www.imagemagick.org/Usage/photos/#removing
    See also here... http://www.imagemagick.org/discourse-server/viewtopic.php?p=41498#p41498
  • asbokid
    asbokid Posts: 2,008 Forumite
    edited 31 May 2011 at 3:56AM
    If you were going to do this professionally, you would need to:
    1. Discover the typeface and font point used by the camera for the date/time stamp
    2. Use identify from Imagemagick to obtain the DateTime value from EXIF metadata for each image
    3. Create a unique mask for the date/time stamp in each image, based on 1. and 2. above
    4. Cut out that mask to leave a transparent hole in the image
    5. Blur the image to fill the hole using the surrounding colours
    6. 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#Example
  • bigfreddiel
    bigfreddiel Posts: 4,263 Forumite
    that sounds just what i want to do cheers fj
    asbokid wrote: »
    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.

    From here... http://www.imagemagick.org/Usage/photos/#removing
    See also here... http://www.imagemagick.org/discourse-server/viewtopic.php?p=41498#p41498
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.