Now perfectly works and from 30FPS of PySimpleGUI version, I've reached 89 stable FPS with delphivcl version.
AMAZING how fast delphi vcl is"
Hello. I'm trying to replicate this code but I'm running into a problem. The line "dib.expose(self.Image1.Picture.Bitmap.Canvas.Handle)" gives the error "line 101, in expose result = self.image.expose(handle)
TypeError: argument 1 must be int, not None". I tried to get the handle via "PIL.ImageWin.HDC(self.Image1.Picture.Bitmap.Canvas)", but also to no avail. The error in this case is "TypeError: argument 1 must be int, not HDC" . Yes, and sorry for my English.
Place image in a TImage
in Python4Delphi
Posted
Hello. I'm trying to replicate this code but I'm running into a problem. The line "dib.expose(self.Image1.Picture.Bitmap.Canvas.Handle)" gives the error "line 101, in expose result = self.image.expose(handle)
TypeError: argument 1 must be int, not None". I tried to get the handle via "PIL.ImageWin.HDC(self.Image1.Picture.Bitmap.Canvas)", but also to no avail. The error in this case is "TypeError: argument 1 must be int, not HDC" . Yes, and sorry for my English.