Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

does anybod know how to access pixel data?

, 21 Mar 2011
Hi,This is the easiest way but slow:System.Drawing.Bitmap oBitmap=new Bitmap("MyFile.bmp");System.Drawing.Color color= oBitmap.GetPixel(Y,X);oBitmap.SetPixel(X, Y, color);The faster way might be using Windows API functions.Hope this can help you.

Revisions


  

Compare Revision Minor Date Status Editor
1 No 21-Mar-11 19:13 Composing aidin Tajadod

License

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

Share

About the Author

aidin Tajadod
Web Developer Volt
United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 21 Mar 2011
Article Copyright 2011 by aidin Tajadod
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid