The image is already stored locally. What ends up in game is a panel holding a reference to the image. So yeah, a string ends up using more memory in this case.