Skip to content
Advertisement

Tag: imagegrab

How to decrease Image object size that dumped through pickle in Python

I’m working on a socket data transfer project. I want to watch client screen. I’m using pillow and pickle module both server and client but when I trying to send ImageGrab.grab() object, object size is 3Mb. It’s very high data for transferring. Although object size is 3MB, saved size (ImageGrab.grab().save(“example.jpg”)) is 200 kb. When i save file then read saved

Advertisement