Get Lara - Posts - RSSSyndicated content powered by .geographical mediaRSS syndication makes it easy to receive content updates in My Yahoo!, Newsgator, Bloglines, and other news readers. |
Current Feed ContentPNG, JPG, GIF Image Resize with .NET with transparencyProper resizing of images in .net can be accomplished fairly easily, but you must be careful to maintain the original pixel formats as well as the original raw format of the image. By maintaining the original pixel formats you can use the GDI Canvas and Bitmap objects to properly resize an image without loss of transparency or quality. The key to success in this method (and how it differs from the microsoft examples) is in the declaration of the Bitmap object with the pixel format parameter... |