How This Tool Works

The DPI Metadata Converter is a JavaScript-based tool that operates entirely within your web browser. It is designed to modify the DPI (dots per inch) metadata of image files to meet specific technical requirements. Here's a detailed breakdown of how the tool works:

1. Image Upload

When you select an image file using the file Browse... button, the JavaScript `FileReader` API is used to read the contents of the file. The `FileReader` reads the image file as a Data URL, which is a base64 encoded string that represents the image data.

2. Optional DPI Input

You have the option to enter a desired DPI value into a number input field. If you leave this field blank, the tool will use a default value of 75 DPI. This value is stored in a JavaScript variable for later use.

3. Image Processing

Once the image is loaded and the DPI value is set, the tool proceeds to modify the image's DPI metadata. This process involves several key steps:

4. Privacy-Preserving Processing

All of these operations—reading the image, modifying its DPI metadata, and re-encoding the image—happen entirely within your web browser. This means that your image data never leaves your device, ensuring complete privacy. The tool does not send any data to a server, and no data is stored or transmitted outside of your local machine.

5. DPI Display and Download

Once the DPI has been modified, the tool extracts the updated DPI values from the image and displays them on the screen. You can then download the modified image file directly to your device by clicking the "Download Converted Image" link. The downloaded image will include the new DPI settings in its metadata.

6. No Data Collection

The tool does not collect, store, or transmit any of your data. Everything is processed locally on your device, so you retain full control over your image files. This ensures that your privacy is protected and that your data remains secure.

Back to Home