Last post Apr 09, 2010 05:24 AM by Menno van den Heuvel
Apr 08, 2010 10:23 AM|JorenWillems|LINK
Hi how can I convert an uploaded image to 250 dpi? I know that you must use Bitmap, but I'm not familiar with it so please give the full code.
My image is in the folder "C:/TestWeb/images/foto_72dpi.jpg"
Apr 09, 2010 05:24 AM|Menno van den Heuvel|LINK
The SetResolution method (http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.setresolution.aspx) will set the dpi on an image.
Are you sure you understand how dpi works though? At best increasing the dpi of a 72 dpi image will result in a larger image with lower detail that looks the same printed, at worst it will do nothing, but when you print it it will be miniscule.