[wxPython-users] drawing on images
Christopher Barker
Chris.Barker at noaa.gov
Mon Aug 14 13:20:36 PDT 2006
Jeff Peery wrote:
> hello, I was wondering what is the best method/module to use for the
> following... I would like to load an image, draw on it, place other
> smaller images over the original then save the new image as .png.
Look in the Wiki under what you find if you search for "Image".
In short:
load the Image into a wx.Image, convert it to a wx.Bitmap, select that
bitmap into a wx.MemoryDC, use the DC to draw to it (including drawing
images on top of it), save with wx.Bitmap.SaveFile()
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list