[MonoTouch] int[] pixels as MonoDroid or wp7
Alphapage
alphapage at gmail.com
Tue Oct 18 04:45:32 EDT 2011
Hello,
I try to get an int array of pixels as I can do in MonoDroid like this:
int[] pixels=new int[PixelWidth*PixelHeight];
Android.Graphics.Bitmap Source;
Source.GetPixels(pixels, 0, PixelWidth, 0, 0, PixelWidth, PixelHeight);
or wp7 like this:
WriteableBitmap wb;
int[] pixels=wb.Pixels;
It seems to be very difficult to do the same in 2 lines of code with Cocoa.
Thanks in advance for your help.
--
View this message in context: http://monotouch.2284126.n4.nabble.com/int-pixels-as-MonoDroid-or-wp7-tp3914625p3914625.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list