Resizing an image in asp.net without losing the image quality
This is the code I use. It supports rotation, and also sets the image resolution to the JPEG standards of 72dpi@24-bit color (by default GDI+ saves images at 96dpi@32-bit color). It also fixes the black/gray border problem that some people experience when resizing images. /// <summary> /// Resizes and rotates an image, keeping the original … Read more