Camera MP Resolution Calculator

 

Overview

the information you enter here runs only on your browser on your machine, no data is transmitted to a server unless you use bookmark URL button, then it submits to same page (nothing active on server side) and builds a URL.

Higher end and older mid-to-low-end digital cameras are 4:3 (SD). newer low-to-mid-end digital cameras are 16:9 (HD). Video cameras such as camcorders can be either 4:3 (SD) or 16:9 (HD). Some camers (video and digital) can do both 4:3 (SD) and 16:9 (HD).

What is meant by 16:9 and 4:3 is the ratio of x:y or horizontal:vertical sometimes size-wize of the image sensor,but always of the output format.

Camera MP-Resolution Calculator Application

Convert MP to X and Y (4:3)



Convert MP to X and Y (16:9)


4:3 ratio: X=, Y=

16:9 ratio: X=, Y=



Convert X and Y to MP

,

MP



the math


X = 43 × 1e6 × MP = X=4/3*1e6*MP


Y = 34 × 1e6 × MP = Y=3/4*1e6*MP

X = 169 × 1e6 × MP = X=16/9*1e6*MP

Y = 916 × 1e6 × MP = Y=9/16*1e6*MP

MP = X × Y 1e6 = MP=X*Y


making an HTML image tag from a camera image

Internet absolute <img src="http://nowhere.com/i/image.jpg" alt="description text"/>

Site absolute (must reside on same server) <img src="/i/image.jpg" alt="description text"/>

Document relative, from current document. let's assume that current document is /whinny/jocko.html <img src="../i/image.jpg" alt="description text"/>

Having the / before the closing > ensures that it works on either HTML5 or XHTML or XML. There is an optional width="320" height="240" set of attributes which you can set.

You can reduce the size of the image by changing the width and height, which streches the image. But it will not change the file size. It will take just as long to load in a browser. If you want to have it show up as a certain size on a browser and load fast, it is best to resize a copy of the image to the desired size (usually somewhere between 67x50 for thumbnails to up to maximum 640x480 is a good size for images and use that copy.

The ratio is usually 4:3 (x:y) but on some cameras it is 16:9, so see your camera manual to find out.

You can tell by taking the vertical camera resolution and first multiplying it by 4/3. if you get the horizontal resolution listed in the camera's manual's liste of resolutions, then you have a 4:3 (SD) camera and you use this ratio to calculate sizes.

If you get a value that's fairly off, then it's probably 16:9, so try starting with the vertical resolution and multiply by 16/9. if you get the horizontal resolution, you have determined your camera's ratio to be 16:9 (HD).