janek - 2020-05-09

Hello. I have a problem with processing bitmap.I work in codesys 2.3.
My task rely on load bitmap in visualitions and divided her on equal elements. Then I would like define color each these elements. Bitmap is black and white. My question is what function to read the color and how divide this bitmap? how to do the easy way? I think dynamics visualizations or element which iteration on width and high bitmap and read color particular element in bitmap. I would like create table which save value elements and assume 1 for blacks cells and 0 for white cells.

My second question is can I import a script into codesys 2.3 from other language for example c or python?If it is possible then how to do it?

thank you for every answer :)