Resize images in Windows Mobile
问题 Is there anyone who knows a way to resize images on the .net 2.0 Compact Framework? I want to be able to get images, taken with the camera on my phone, from the phones memory, resize them and then upload them to a webservice so I acctually don't need to store the resized images on disk. 回答1: This is the C# code I use to resize images in my .NET CF 2.0 applications: public static Image ResizePicture( Image image, Size maxSize ) { if( image == null ) throw new ArgumentNullException( "image",