Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi friends,
what is the maximum resolution(dots per inch) of image(width:480 and height:640)

or

what is the maximum pixels of 640 x 480 resolution of an image. That means when i zoom-in the Image picture of this resolution i want clarity as like original.
Posted
Updated 7-Jan-14 17:03pm
v2
Comments
Gandalf_TheWhite 7-Jan-14 5:04am    
Your question is incomplete, I think you have provided resolution of the image and you want to find the Pixel per Inch with respect to some "screen size"??

Well, you have dots (480x640) but you don't have inches, hence the 'dots per inch' value(s) of your image is (are) undefined.

Now suppose your image, rendered, for instance, on monitor screen, has size 3.2 x 4.27 inches, then its 'dots per inch' value is 150 both on x and y axis.
 
Share this answer
 
v2
Comments
Member 10453510 7-Jan-14 4:54am    
ya your are right but i want when i zoom in that image i want visible calrity
Is this something you are looking for.
http://www.shortcourses.com/sensors/sensors1-11.html[^]
 
Share this answer
 
Comments
Member 10453510 7-Jan-14 23:04pm    
Could you please tell me....what is the maximum pixels of 640 x 480 resolution of an image
If you are displaying the image at a 1:1 zoom it will have "maximum clarity", as you zoom, the pixels must be duplicated to make them seem bigger. This causes an image to look pixelated as you zoom in. Alternatively if you zoom out, pixels must be combined into smaller ones and will cause the image to become fuzzy.

Resolution is resolution, a monitor has so many pixels X and Y and what is called a "native resolution", that is, the display adapter is attempting to display as many pixels as the screen physically contains..

Displays also have a native "dots per inch" that is dependent on the device. For example, a 5" phone screen can have 1280x1024 pixels giving it a much higher DPI than a laptop screen with the same resolution.

This all boils down to if you are zooming in or zooming out, your image will lose clarity. There is nothing you can do about this. The only way to change the resolution of an image is to retake the picture at that resolution. Any method of reducing or increasing the number of pixels will need an algorithm to duplicate or combine pixels, which obviously is an educated guess not the real world.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900