In Objective-C I can do the following and pass a UIImage (image) object into a function, such as this:
+ (void)saveImageLocally:(NSString *)barcode theImage:(UIImage *)anImage;
What is the equivilent in C#?
This question pertains to Windows Phone programming.
You probably need
System.Windows.Media.Imaging.BitmapImageor one of its ancestors (BitmapSourceorImageSource).If you want to easily access image’s pixels, you need
System.Windows.Media.Imaging.WriteableBitmap.