Need code for convesion of 96 dpi to 300 dpi

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • donilourdu
    New Member
    • Jan 2007
    • 53

    Need code for convesion of 96 dpi to 300 dpi

    hi

    I need a code of converting image 96 dpi to 300 dpi resolution ....

    I can able to create image but i cont able to set dpi.Looking for good reply

    with regards
    doni
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    By default, I believe that the Framework uses 96 dpi for it’s images and that if you use the System.Drawing. Image.SetResolu tion(int, int) that you could change it. One thing I found that I could not change the original graphics DPI, I had to copy that image into the new graphic at that dpi.

    I do wonder why you would want to increase the dpi - the image will probably look bad :(.

    Hope that this helps.

    Comment

    Working...