I have an image that is 240x320 (iphone camera image in portrait), and I need to programmatically (in C#) add white \"bars\" to the sides increasing the full image size to 320x3
Here's a great link where a more generalized approach is described for resizing images and adding white bars, either at the top or at the bottom (depending of image orientation)c# Image resizing to different size while preserving aspect ratio