CompEng
CompEng

Reputation: 7376

How I can use getPixel method on BitmapImage class?

I mean I want to use get pixel method on wp7. I do not use Bitmap class.It is possible or I don't use it and I can use writeableBitmap instead of Bitmap. And when I use writeableBitmap class I can not use getPixel method.How I can use?

for ex:

WriteableBitmap image;
int a=image.GetPixel(i, j).G;

Upvotes: 0

Views: 1135

Answers (1)

Pedro Lamas
Pedro Lamas

Reputation: 7233

You should check WriteableBitmapEx, it has GetPixel and SetPixel method extensions you can use here!

Upvotes: 2

Related Questions