Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to convert and save image with 300 dpi c#?
Posted
Comments
TusharBharambe 4-Dec-12 12:12pm    
how to convert and save image with 1000 dpi c#? can I change resolution of image in DPI?

I want change it's pixel to dpi of generated image , so how can i do?

It depends on the type if image, but I must say that DPI is just a meta-data item which affects almost nothing. Some applications is it to render the image in "default resolution", which is mostly applied to print function.

Normally, it does not effect rendering of the image at all. If a pixel-to-pixel rendering is needed, the application simply uses pixel dimension of an image and ignore DPI (which can contradict the task as actual DPI is apparently a function of this dimension and the physical pixel size of the device which is usually not even known to the rendering function, it is not needed); in other cases the application resamples image to any size.

—SA
 
Share this answer
 
I found this forum post that explains it in a different way with regard to the concept of converting or changing DPI:
http://support.leadtools.com/CS/forums/495/ShowPost.aspx
 
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