WickedP last edited by
I've either had a brain fade, or I haven't done this before. I have a GeDialog with a bitmap, and I'm running a background thread to set pixel colours. I'm only setting a line of pixels white for testing. I'm also wanting to make this function multi-threaded in future, which is why I had the bitmap sitting in the dialog.
I pass a reference of the bitmap to the thread. But, when I try call SetPixel(), it isn't doing anything. When I display the bitmap on one of the dialog's buttons, or in the picture viewer, the pixels are all black.
Is setting bitmap pixels from another thread not doable? Or do I need to go back and study my code again?
PluginStudent last edited by
Not sure if it helps, but there is an example of using
ParallelImage()to write into a Bitmap in the documentation.