7
wxPython'da bir pencerede .png
görüntüsü nasıl gösterilir?WxPython'da bir pencerede bir .png resmi gösteriliyor
wxPython'da bir pencerede .png
görüntüsü nasıl gösterilir?WxPython'da bir pencerede bir .png resmi gösteriliyor
png = wx.Image(imageFile, wx.BITMAP_TYPE_ANY).ConvertToBitmap()
wx.StaticBitmap(self, -1, png, (10, 5), (png.GetWidth(), png.GetHeight()))
Uzun örnek: http://web.archive.org/web/20090823114922/http://www.daniweb.com/code/snippet337.html
self.png = wx.StaticBitmap(self, -1, wx.Bitmap("path/image.png", wx.BITMAP_TYPE_ANY))
bağlantı bozuldu. – GreenAsJade