Page 1 of 1

load an image to a table

Posted: Wed Mar 26, 2014 6:12 pm
by assil
Hi;

I'm new in using gdpicture and c#. I'm trying to load a binary png image into a table of float (or array), to use it for another function. I dont know if gdpicture can allow that and if that how can i aceess to evry pixel of my image to store it into my table.

Please help.

Re: load an image to a table

Posted: Mon Mar 31, 2014 3:23 pm
by SamiKharma
Hi,

You need to use the method: GetPixelArrayByte: https://www.gdpicture.com/guides/gdpicture/GdP ... yByte.html
in order to get the pixels of the image.

Hope this helps.
Best,
Sami