Hi, guys,
Do you know how to load an image in .Net Framework 3.5 with high resolution? as long as i know, the default setting in .Net for resolution image only 72 dpi, anyone know how to increase the resolution?
Thanks for your help,
Thanks and Best Regards,
Michael
How to Load the image using 300 DPI resolutionLoad Image with High Resolution
Page 1 of 1
5 Replies - 15465 Views - Last Post: 21 November 2008 - 01:29 AM
Replies To: How to Load the image using 300 DPI resolution
#2
Re: How to Load the image using 300 DPI resolution
Posted 20 November 2008 - 12:51 PM
#3
Re: How to Load the image using 300 DPI resolution
Posted 20 November 2008 - 08:48 PM
Hi, how to set the bitmap resolution? i already try it, for an example :
it is right or not? because, after i check it, the image in picturebox has same resolution, the resolution before and after i put in bitmap doesn't change, can you help me?
Thanks,
Michael
bm = new Bitmap(pictureBox1.Image); bm.SetResolution(300, 300); Image image1 = new Bitmap(bm); pictureBox1.Image = image1; pictureBox1.Refresh();
it is right or not? because, after i check it, the image in picturebox has same resolution, the resolution before and after i put in bitmap doesn't change, can you help me?
Thanks,
Michael
This post has been edited by michaeltjia: 20 November 2008 - 08:50 PM
#4
Re: How to Load the image using 300 DPI resolution
Posted 21 November 2008 - 12:55 AM
michaeltjia, on 20 Nov, 2008 - 07:48 PM, said:
Hi, how to set the bitmap resolution? i already try it, for an example :
it is right or not? because, after i check it, the image in picturebox has same resolution, the resolution before and after i put in bitmap doesn't change, can you help me?
Thanks,
Michael
bm = new Bitmap(pictureBox1.Image); bm.SetResolution(300, 300); Image image1 = new Bitmap(bm); pictureBox1.Image = image1; pictureBox1.Refresh();
it is right or not? because, after i check it, the image in picturebox has same resolution, the resolution before and after i put in bitmap doesn't change, can you help me?
Thanks,
Michael
Well, you copy the old image and set the resolution on the new bitmap. Then you create a new bitmap using the modified bm and copy it back to the picturebox. The new bitmap, with the old image in it, will have the default resolution.
Why not copy the modified bm back to the picture box directly?
bm = new Bitmap(pictureBox1.Image); bm.SetResolution(300, 300); pictureBox1.Image = bm; pictureBox1.Refresh();
#5
Re: How to Load the image using 300 DPI resolution
Posted 21 November 2008 - 01:03 AM
Hi, n8wxs, thanks for your explanation, really appreciate it.
Btw, do you know how to stitching images, i already try using Matrox Tool for stitch image, but the result is not good if there is a different contrast, brightness, etc in each image, do you know maybe there is a good tool that can stitch image automatically in C# ?
Thanks,
Michael
Btw, do you know how to stitching images, i already try using Matrox Tool for stitch image, but the result is not good if there is a different contrast, brightness, etc in each image, do you know maybe there is a good tool that can stitch image automatically in C# ?
Thanks,
Michael
#6
Re: How to Load the image using 300 DPI resolution
Posted 21 November 2008 - 01:29 AM
Sorry, no I don't.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|