The texture the pixels are extracted from. Otherwise, extract from the renderer.
The rectangle which the pixels are extracted from.
The compression mode to apply, or NONE
The optional image mime type.
The optional image quality.
The optional debug flag to use.
The texture the pixels are extracted from. Otherwise, extract from the renderer.