read grayscale image
Visual Basic
4
Posts
3
Posters
0
Views
1
Watching
-
There is method to read grayscale image as a 2 dimensional matrix in VB?
-
There is method to read grayscale image as a 2 dimensional matrix in VB?
-
No.I need to read image pixels which range from 0-255 and then encrypt these values using on e of the substitution techniques.
-
No.I need to read image pixels which range from 0-255 and then encrypt these values using on e of the substitution techniques.
Since VB doesn't support pointers, the only method you have is GetPixel. Look into writing the image manipulation code in C#, which does support pointers, and convert the data into a form that VB can use.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008