|
-
Dec 26th, 2016, 12:19 PM
#1
[RESOLVED] Read PNG 16 bit greyscale file pixels
I have a PNG file which is a greyscale image and I want to do calculations on the data within it. I don't need to display it, I just need to get at the pixel data and assemble a 2D array of the 16 bit values.
But... I don't want to convert it to a Bitmap (been down that route already) because I lose the 16 bit resolution.
Is there a way I can read the PNG pixel data?, or maybe a way I can convert it directly to a 48bit Bitmap and go from there?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|