How to apply mosaic or blur to images locally using your browser
Learn how to obscure faces, backgrounds, or license plates in your images using local browser processing. This guide explains how to use our image blurring tool and details the limitations of metadata removal and privacy protection.
§1. I empathize with these concerns: Anxiety about being identified behind fun posts
"I want to upload photos of my travels and daily life on social media, but I am hesitant to do so because there are faces and car license plates of people I don't know in the background."
"I want to upload a photo, but I am afraid that the location might be identified from the distinctive buildings in the neighborhood or reflections in the background."
"I want to edit images to protect privacy, but I am cautious about uploading unprocessed photos to an external image processing web server."
While it has become easier to share recent events and memories online, the background details in images can sometimes inadvertently reveal more information than intended. When you post photos, certain visual elements might help viewers identify locations or individuals. To address these concerns, applying appropriate redaction, such as a mosaic or blur, can be a practical step before sharing images. Protecting your privacy involves understanding what information is visible in the photo and taking measures to obscure sensitive details before publication.
§2. Explanation of the cause: How can location and personal information be identified from photos?
When sharing images online, various details can provide clues about geographic locations or personal identities. It is important to review the entire image content.
- Reflections and background details:
Visual information reflected in windows, mirrors, or other reflective objects can sometimes reveal the surrounding scenery. Distinctive storefronts, train route maps, station signs, or prominent landmarks in the background might allow viewers to narrow down where the photo was taken. Any unique geographical feature or building can serve as a reference point.
- Car license plates, nameplates, and street signs:
If a car's license plate, a residential nameplate, or a telephone pole with a lot number appears clearly in the background, it provides direct information about a specific geographic area or an individual's identity.
- Position information in the image file (Exif metadata):
Depending on your device's camera settings, app configurations, and granted permissions, photos may contain embedded metadata (Exif). This metadata can include the latitude and longitude of the shooting location, timestamp, and device model. Simply having your GPS turned on does not automatically mean all photos contain Exif data, as it depends on the specific camera application's permissions. However, if this information is present and the platform you upload to does not strip metadata, viewers might be able to read the location data using metadata viewer tools.
Using an online mosaic creation tool often involves uploading your original, unprocessed image to a remote server. This means the server processes the image, which requires transferring your file over the network. Our tool processes the image locally within your browser using the HTML Canvas and FileReader APIs, meaning the image data is not uploaded to our servers for processing, although standard webpage resources and ad networks operate separately.
§3. Tool-based solution: Applying mosaic and blur effects using ZeroTools
If you need to obscure parts of an image locally on your device, you can use our site's Image mosaic/blur processing tool. This tool utilizes browser APIs to process the image locally, avoiding the need to transmit the image file to an external processing server.
Solution steps and available settings
1. Open the Image mosaic/blur processing tool page.
2. Load the photo you want to edit by using the file picker or by dragging and dropping a single image into the designated area. The tool uses the FileReader API to read the image locally. Note that if the image is large, the output canvas will be resized to a maximum of 800x500 pixels while retaining the original aspect ratio; smaller images will retain their original dimensions.
3. Select your preferred tool mode: range selection (Rect), which is the default, or Brush.
4. Choose the effect type: "Blur" (default) or "Mosaic". You can adjust the intensity using the sliders. For blur, the standard deviation slider ranges from 2 to 35. For mosaic, the pixel size slider ranges from 4 to 30. If using the brush tool, the brush size can be adjusted between 5 and 80.
5. Use your mouse to draw rectangles or brush strokes over the areas you want to hide, such as faces, license plates, or identifiable backgrounds. The blur effect relies on the Canvas rendering context filter, and its support may depend on your browser. There is no automatic face detection, auto-blur, black-fill, or cropping functionality included in this tool.
6. You can use the Undo, Redo, and Reset buttons if you need to revert or start over. The history stack allows you to easily undo previous mouse strokes.
7. Choose your export format: PNG or JPEG. Note that there is no UI to adjust JPEG quality, and exporting as JPEG will result in the loss of any transparency. Click the download button to save the processed image.
Be sure to retain your original image file separately in case you need it later, as the output is a resized, edited version.
§4. Verification and limitations: Always check the final saved file
After downloading the processed image, it is crucial to open the actual saved file on your device and visually inspect it before publishing. Ensure that the boundary coverage is sufficient, and that no readable text, recognizable faces, or identifiable background details remain visible.
Additionally, verify the resolution and metadata of the saved file. While drawing the image onto an HTML canvas and re-encoding it for download generally strips most original Exif metadata, this tool does not provide an explicit Exif inspection or guaranteed Exif removal certification. Relying solely on canvas re-encoding is not a certified method for metadata stripping.
If the obscured areas are still somewhat readable, or if you require stronger protection for sensitive documents, do not publish the image. The blur and mosaic functions cannot guarantee absolute anonymity or prevent re-identification under all circumstances. For highly sensitive information, you should employ an appropriate redaction workflow, such as solid black fills using dedicated security software. Always review the final output manually to ensure it meets your privacy requirements.