> Am 25.09.2015 um 12:11 schrieb Marnaud <[email protected]>: > > Hello, > > I'm getting pictures from one computer to another one using > ScreenshotDisplayMBS and PictureToJPEGStringMBS through local network. The > timer which asks for this has a period of 100 (so I could get up to 10 > pictures per seconds). However, even with a JPEG quality of 1, I'm receiving > the pictures slowly. The network may not be the problem because each picture > takes around 200 KB, so I'm thinking either ScreenshotDisplayMBS or > PictureToJPEGStringMBS is too slow for my needs. > Is there something that can be done?
Did you measure times? For me this takes 0.5 seconds per image. With CGImage it'S faster, around 170 ms dim img as CGImageMBS = c.CreateImage dim jpeg as MemoryBlock = img.JPEGData Technically I could of course put that into an async API which would do the work on another CPU core. This way you could start one each 100 ms and with two CPU cores get it done. For my retina display, it'S a lot of pixels to move. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
