Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do you set or modify a pixel in a BitmapImage?
Posted
Updated 2-Sep-10 11:42am
v2

 
Share this answer
 
Comments
[no name] 3-Sep-10 9:12am    
Thank you!
BitmapImage is a WPF class, isn't it ? Your question is not tagged as WPF.

You can read my image processing articles for how to do it with GDI+. I know you can convert between Bitmap and BitmapImage by using a stream to store the bytes between the two. I am not sure it's possible to access the pixels of a BitmapImage.
 
Share this answer
 
Comments
[no name] 2-Sep-10 17:43pm    
How do you send the bytes back to the BitmapImage? I see how to get them... Is it possible to modify them and send them back with out using Bitmap?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900