You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IMG_LoadTexture_RW function can load a PNG image saved in the stream, but if the stream contains some data after it (because it is, for example, a binary file with a lot of data), then after reading the PNG, the stream pointer is moved much too far, which further data could not be read correctly. The same problem occurs with the IMG_LoadTextureTyped_RW function.
The text was updated successfully, but these errors were encountered:
flowCRANE
changed the title
IMG_LoadTexture_RW read too much data, far behind IEND chunk
IMG_LoadTexture_RW read too much data, far beyond the end of the PNG data
Apr 15, 2023
The
IMG_LoadTexture_RW
function can load a PNG image saved in the stream, but if the stream contains some data after it (because it is, for example, a binary file with a lot of data), then after reading the PNG, the stream pointer is moved much too far, which further data could not be read correctly. The same problem occurs with theIMG_LoadTextureTyped_RW
function.The original discussion is here: https://discourse.libsdl.org/t/img-loadtexture-rw-seems-to-load-too-much-data
The text was updated successfully, but these errors were encountered: