There are cases where serious performance improvements can be gained in certain situations.
If the user is only interested in capturing the entire screen and the screen does not have pixel padding in the native image, then the native, raw image can be passed directly back to the user. This will avoid memory allocations, and skip a copy of the image.
There are cases where serious performance improvements can be gained in certain situations. If the user is only interested in capturing the entire screen and the screen does not have pixel padding in the native image, then the native, raw image can be passed directly back to the user. This will avoid memory allocations, and skip a copy of the image.