Saturday, February 23, 2013

How to Resize the 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 theautomatic 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.

Monday, January 9, 2012

Excellent idea



30 Storey Building built in 360 Hours




Which country can build a 30 storey building in 360 hours? Yes China. A country which is on a race with itself has set one more record – of sorts. A 30 storey, 183000 square foot hotel was built in 360 hours.



The hotel was built in the Hunan Province, China, by the Broad Group construction company. The whole hotel was built using pre-fabricated modules (of course) and uses a diagonal steel bracing. If you want to stick a ‘Made in China’ Moniker and pronounce that this building might not be safe, please delay your judgment until you hear what’s in store.

The hotel is 5 times more earthquake resistant than conventional building and can withstand a 9 magnitude earthquake. The building has been tested by the China Academy of Building research. The building is safe from the inside as well. Its indoor air is 20 times purer than the air outside thanks to a 3 stage air filtration set-up throughout the building. Further, there is air quality monitoring in every room.
The building is 5 times more energy efficient than regular buildings and has an external solar shading, heat recovery, fresh air and internal window insulation.

There was a similar heroic building story coming out of China back in 2010 : a 15 storey hotel was built in 6 days flat.

It’s not just that the building was built. The beds, curtains and everything that makes it a hotel were done by that time as well. It isn’t just done. It’s done and done. Ready to be occupied.
Now imagine a similar thing to be built in….No wait. That’s a moot point.