How does image loading work?

How does image loading work?
I have a game where I want to load mini versions of images that are already on screen, and I’m wondering if that will be too laggy for the player…

Is roblox going to just use the version of the image that is already in RAM? Or will it load a new image completely?
Heres an image that shows a little of what im doing


That smaller image will be loaded by a script, and I don’t want the player to have to wait for it to load or for it to take up too much memory if there is a lot of them.

2 Likes

From my experience, no. If that were to happen then the engine would download new images everytime an Image Gui is tweened or animated to a specific size with a set time, which is redundant. The engine would just resize the existing image to match the Image Gui’s current size

Also, images load instantly when downloaded by the engine. So you don’t have to imagine like waiting an entire second for it to load (I’m a mind reader HAHAHA)

TL;DR: It’s saved somewhere. And it’s too redundant/not efficient to download the image everytime.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.