X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30fc5e8fee1557e4049d35d416d76a2bebdd8780..2511d95968a7e947d898f90e58a79f92fc8ee570:/wxPython/demo/images.py diff --git a/wxPython/demo/images.py b/wxPython/demo/images.py index 503011a502..d9678bdbb1 100644 --- a/wxPython/demo/images.py +++ b/wxPython/demo/images.py @@ -10208,6 +10208,30 @@ def get_rt_centreImage(): stream = cStringIO.StringIO(get_rt_centreData()) return ImageFromStream(stream) +#---------------------------------------------------------------------- +def get_rt_colourData(): + return \ +'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\ +\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\ +\x00\x00\xf6IDAT8\x8dcddbf\xa0\x04\xb0\xe0\x92\xf8\xc7.\xf6\x1f\x9b8\xd3\xcf\ +W\x8c(|B\x9a\xdf\xb2\xf3\xe35\x98\x11\xdd\x0b\xb8l\xc6\xe5\x12\xac. \x05\x0c\ +B\x03\x96T\xf31lm\xc8bx\xca%\x8a\xa1\xf8\x1f\x0b$\xd2\x90c\x02%\x10\xdd\xfe\ +\x1a\xffg````\x99\xe5\xc0 \xf2\xfd#\x83\xef\x82\xf7\x0c\xba\xcf\x1f2\xb0\xfd\ +\xfb\xcd\xf0\x98]\x81a\x83X0\xc3\xe5_Q(\x86\xc2\r\x80i\x16\x7f%\xc3\xf0\xea\ +\xfd\x1f\x86\xff\xea/\x188\xbe\xfdc\x08\xeb\xf9\xcc\xf0of\n\xc3J\xe9 \x86\ +\x9f?e\x19\x18\xfe\xb1b\x1a\x00\xd3\x8c\x15|\xe2e\xf8\xe7\xbd\x96\x81\xe93/\ +\xc3\xbf\xbf\x98A\xc6\x84W3\x03\x03\xc3\xff\xb7B\x0c\x0c\xffp\x875\xe1X\xf8\ +\xcb\xcc\xc0\xc0\xf2\x13\xab\xedD\x19\xc0(\xfa\x96\x81A\xf69\x05.\xe0\xff\ +\xc8\xc0h|\x1e\xb7\x05\x04\x03\x91\x81\x81a\x17\xf3YF\x17\xad?X\xd5\x00\x00\ +\xac\x08RO\x1e0;\xef\x00\x00\x00\x00IEND\xaeB`\x82' + +def get_rt_colourBitmap(): + return BitmapFromImage(get_rt_colourImage()) + +def get_rt_colourImage(): + stream = cStringIO.StringIO(get_rt_colourData()) + return ImageFromStream(stream) + #---------------------------------------------------------------------- def get_rt_copyData(): return \