Downloads the given texture pixels into a `GBytes`.
The rowstride will be stored in the stride value.
This function will abort if it tries to download a large texture and fails to allocate memory. If you think that may happen, you should handle memory allocation yourself and use [method@Gdk.TextureDownloader.download_into] once allocation succeeded.
this |
the downloader |
out_stride |
The stride of the resulting data in bytes |
The downloaded pixels |