Skip to main content

How to set dpi and size of photo in mm or cm?

Ok, so you might have come across some sites that ask you to upload a photo, but also tell you that it must meet some requirements like these:
  • Measurements: 35mm wide and 50mm high
  • Minimum resolution: 150 dpi
  • Format: JPEG file
  • Should be a colour photograph
  • The photo size should be less than 200KB
First of all, since the website is asking you to upload a photo, the use of ‘dpi’ (dots per inch) in the minimum resolution requirement is wrong. It should actually be ‘ppi’ or pixels per inch. ‘dpi’ is strictly used only in hard copies, printers and printing, and has no meaning in computer files or soft copies. You may want to read this page for a good explanation of the difference between the two, before you proceed with the tutorial: DPI and PPI Explained
You will need a good graphics editing software to set the ppi and measurements of a photograph. Windows Paint is very basic and does not provide this functionality. Sophisticated software like Adobe Photoshop would most likely provide this functionality, but now you don’t need to whip out your credit card to buy them. Just get the free and powerful replacement for Windows Paint: The Paint.NET
So, how do you set the ppi (mistakenly called dpi) and measurements in Paint.NET? Let’s use the requirements above as an example.


  1. In Paint.NET, open the photograph which you wish to upload to the website (or meet the requirements with).
  2. Click on Image > Resize (Ctrl-R) on the menu bar.
    image
    Make sure the blue areas are exactly as given here. Do not touch the red area. We will work on the green area.
  3. First we will set the Resolution (ppi). Since we want it in inches, click inside the second box, and select “pixels/inch”. Then enter 150 in the first box.
  4. Next we need to set the measurements or the “Print size”. Now, this is a bit tricky. You should set only one of the two measurements here. Either the width or the height, not both. If you force both width and height, you may end up with a distorted photograph (think about a ball getting crushed into a flat plate).

    So which one should we change? Before we change anything, since the required measurements are in mm (millimeters, which is one-tenth of centimeters), you need to click inside the box on right side and select “centimeters”.

    Now enter the required Width, which is 3.5 cm (note that 35 mm = 3.5 cm). Notice the automatic change in the Height box. In my example it reads 4.67 cm. Here’s the rule: If the new height is bigger than the required height (5.0 cm), you’re right so far. It is the width that you need to enter. Just click OK and continue to step 5.

    If the new height is smaller than the required height, it is the height that you need to enter. Since our example has 4.67 which is smaller that 5.0, we will enter 5.0 into the Height box. Note that now the width automatically changes. Allow this to happen (do not try to change the width back). Click OK and continue to next step.
  5. Click Image > Canvas Size (Ctrl-Shift-R) on the menu bar.
    image
    Along with the usual colour code, yellow means an area you can change according to what you want, but you will most likely leave it as shown here.
  6. In here, you will see that either the width or the height is meeting the requirement. Change the one that does not meet the requirement. In our example, the Width (3.74 cm) does not meet the requirement (3.5 cm). Therefore we will enter 3.5 into the Width box (under Print size). Note that this time, the height does not change automatically, but remains 5.0 cm.
  7. About Anchor: This determines how Paint.NET will crop your photograph as you change the size. Most of the time, you will select the anchor to be in the middle, as subjects of a photograph are usually placed in the middle of the photograph. But in case your photograph has subjects on a side or a corner, change the anchor to match it, so that the photograph crops sensibly. (Play around, and you’ll know what I mean.)
  8. Click the OK button and you’re done! Save the image as JPEG using File > Save (Ctrl-S) and select a good quality setting (95%) while saving.
Well, I hope it’s easy for you to follow the steps, even though some of them are quite long and explanatory. Post comments if any of you encounter problems.
Keywords: dpi, ppi, dots per inch, pixels per inch, inches, centimetres, millimetres, mm, cm, photo, photograph, picture, requirements.

Comments

  1. thank you soooo much! the Paint program is great and free and the tutorial as well, and yes they did write dpi...:)

    ReplyDelete

Post a Comment

Comments are moderated, and are usually posted within 24 hours if approved. You must have a minimum of OpenID to post comments.

Popular posts from this blog

Disable auto save in JetBrains IDE software (IntelliJ IDEA, PyCharm, PhpStorm)

JetBrains provides the following IDE software: IntelliJ IDEA PhpStorm PyCharm RubyMine WebStorm AppCode CLion Google also provides Android Studio which is powered by the IntelliJ platform. If you come from a different IDE such as Eclipse, you will be unpleasantly surprised to find that JetBrains-branded IDEs automatically save everything the moment you look away. The proponents argue that as you work on your project, you should not have to worry about saving files. But to others, this auto-save behavior which is enabled by default is a curse that catches them by surprise, and a shocking departure from the workflow they are very much used to. You can change the behavior by altering some settings.

Make Samsung DVD-C350 region-free

Update 2: An anonymous commentator has shown me a way to make Region 1 players (such as DVD-H1080R) region-free by first converting it to Region 3, then applying my region-free hack below. For details, click here or look for a comment by an Anonymous user dated 18 April 2011. Update: The instructions in the original post below did not make the DVD player region-free. Instead it only locked it to region 1. Many thanks to Anonymous who posted the first comment on this post, I now have alternate instructions. Note: If you have edited the numbers menu (see original post) , I suggest you return it to the original settings you had backed up. A modified numbers menu may prevent the instructions below from working properly.

Group, Ungroup and Regroup disabled in Word

I was editing a Microsoft Word document which had a collection of shapes and text boxes grouped together. I wanted to modify some of the shapes, and therefore I had to ungroup them. But when I right-click the group and open the Group menu, all three options namely Group, Ungroup and Regroup are completely disabled or grayed out. I couldn’t figure out what’s wrong. This group of objects is perfectly ungroupable, and I can even select objects within the group. However, Microsoft Word 2007 is not letting me ungroup it. I searched the Internet for a solution, but did not find anything very useful. The closest I came across is this statement: “The type of Text Wrapping doesn't make any difference as long as it isn't In Line with Text.” ( Link here ) Anyway, I changed the text wrapping of the group of objects from ‘In line with Text’ to ‘Tight’ and viola! I could now ungroup it and edit it. The document got a bit messed up when I did so, but after I ungrouped, edited and regro...