GrabImage speed
BlitzMax Forums/BlitzMax Programming/GrabImage speed
| ||
Is it reasonable to expect a GrabImage of a 1024x768 screen to take 2.5 seconds? Local image:TImage = CreateImage(1024, 768) GrabImage(image, 0, 0) I've also noticed that loading a jpg of the same dimension takes about the same amount of time. Perhaps it's a processor thumping action that shows up my 867mhz powerbook... :o) |
| ||
Yes it is reasonable. Image are not meant for realtime stuff but beeing static and untouched. If you do a GrabImage GrabPixmap is processed and the result is converted to an image which is very slow. Use GrabPixmap and operate on the Pixmap, runs nearly in realtime :) |
| ||
Yah, here I found that grabbing images from the backbuffer seemed kinda slow. |