The filesize doesn’t say anything about the size a image takes in memory. The file gets stored uncompressed in memory, standard formula is width * height * 4
(every pixel takes 4bits (RGBA) in memory). You need more then just the image data if you are going to manipulate it.
3 Likes