Hi Chris,
I"m writing an image filter for turnin weather-related
stripcharts into vector data. Generally I can rely on the
fact that the pencolor is blue and extract the blueest
pixels, scale them into world coords and I"m done.
I was using a wx.Scrolldewindow and it was working until
I put it in a wx.Notebook and the scrollers went south
for the winter.
That"s when I discovered FloatCanvas (after I wrote to you
off list (about some numpy problem). I"m the guy working
on a NOAA dataset as a volunteer.)
I"ve printed out all the demos and looked it over. (212 pages
at 8 points.) Well, I dont see how to load an image. This is
all you"ve got on wx.Images afaict.
def SaveAsImage(self, filename, ImageType=wx.BITMAP_TYPE_PNG):
self._Buffer.SaveFile(filename, ImageType)
BTW, does this seem a reasonable set of relations?
They are all HAS A...
metadata
|
|
--------- notebook ----------
notebook / / \ \
pages: / / \ \
draw_frame / \ help_panel
| / \
| filter_panel metadata_panel
o
has a canvas
Thank you in advance,
paul
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas