I’m trying to get this working on mac as well I get the error Message: expected Bitmap, got NoneType where you said it maybe windows only. Do you know a way to do this on both platforms?
i cannot test on a mac here. Have you tried to input the captured bitmap directly to the image_view.Image without putting it in a memory stream on mac ? eg. something like this:
image_view.Image = bitmap
Maybe @curtisw can shed some light on this. Before doing the trick with the memory stream found in one of his answers on google groups i’ve tried to use the captured bitmap directly and this resulted in an error like “Expected bitmap, got bitmap”. I guess System.Drawing.Bitmap is not the same as Eto.Drawing.Bitmap…
Apart from this, it’s pretty hard to do anything with Eto without examples or working intellisense in the built in python editor.
I was wondering how I could access the data from the image view? So instead of the image object I could retrieve a list of points from the building. I want to be able to retrieve data from each image based on what the user selected and have it appended to an array.
An image view control just displays a picture (e.g. bitmap). So I am confused about what points from the building you want to retrieve, and what you want to retrieve it from. Perhaps we need more information.