What loads faster? A 1x25 image or a 5x5 image?

Pixel count is the same but the shape and dimensions of the images are obviously different.
Does it matter what the dimensions are? Or is pixel count the only thing that matters?
Does it change as the image becomes scaled up in size?

I can see this being pretty relevant to how people build spritesheets.

Thanks!
If the number of images is the same and the total size is the same, it doesn't really matter.
I don't know but i can give you some tips of my own to figure out the problems like "who is faster"
Steps:
1,set up a timestamp before you did anything(yes i mean in the code)
2,alert an elapsed time duration after you have done what you want to test(in this case, it's loading imgs)
3,try different ways to do the thing(in this case, it's loading 1x25, 25x1,5x5, etc...) find out who is faster/fastest
file size = resolution x color depth.

it's a straight relation.
file size = resolution x color depth.

it's a straight relation.

So if I make a sprite sheet of 10x10 images and I have, say, 25 of those 10x10 images, whether I arrange them all in a single row (10x250 pixels) or whether I arrange them 5 by 5 (50x50 pixels) it'll be the exact same system load?
yes and no - what the people above are forgetting is the compression rate.

RAM size is the same, that is the amount of RAM needed to work with the pictures.
what differs is the compression rate of the picture when stored on the harddrive.

A higher compression rate means smaller filesize and thereby faster loading.
Unfortunately the compression rate depends on the content of the picture, not its pixel size, so there is nothing that you can really do to affect that part.
yes and no - what the people above are forgetting is the compression rate.

RAM size is the same, that is the amount of RAM needed to work with the pictures.
what differs is the compression rate of the picture when stored on the harddrive.

A higher compression rate means smaller filesize and thereby faster loading.
Unfortunately the compression rate depends on the content of the picture, not its pixel size, so there is nothing that you can really do to affect that part.
Right but let's say the pixel content is the exact same. Like, if I had 100 pictures of a 10x10 red square, would arranging them all in a single row be better (10x1000)? Or would arranging them 10 by 10 be better (100x100)?

And I'm asking this in the context of arranging a spritesheet so the pixel content would actually be the same I think.
Since RMMV treats each image as a single texture, I'd recommend using maximum image dimensions of 1024x1024 px. The true texture size limit is hardware-dependent, but 1024 px seems to be a commonly-supported size.

Otherwise, like others have said, I think the difference is negligible~
load time would be the same and won't matter.

but if you're working sprite cells, then what would matter are your mathematics on cell selection.
THAT would make a lot of differences depending on what you're doing with the cells.

if all cells are completely unrelated, then the sprite structure won't matter. But if they have correlations, then the mathematics will become important on handling the cells.
That is the reason why the original sprites were organized 3x4 after all - the animation is each frame horizontal from the same cell while the four different directions are different rows.
That makes it easier to calculate from one cell to then ext one needed when something changes.
If the cells were randomly organized it would be much more of a hassle to find the correct cell.

so what are the differences and correlations between your 100 pictures? Only if they are completely unrelated the format wouldn't matter.
load time would be the same and won't matter.

but if you're working sprite cells, then what would matter are your mathematics on cell selection.
THAT would make a lot of differences depending on what you're doing with the cells.

if all cells are completely unrelated, then the sprite structure won't matter. But if they have correlations, then the mathematics will become important on handling the cells.
That is the reason why the original sprites were organized 3x4 after all - the animation is each frame horizontal from the same cell while the four different directions are different rows.
That makes it easier to calculate from one cell to then ext one needed when something changes.
If the cells were randomly organized it would be much more of a hassle to find the correct cell.

so what are the differences and correlations between your 100 pictures? Only if they are completely unrelated the format wouldn't matter.
I see! I didn't know about any of that. Thank you for the detailed explanation.

I'll try to structure my spritesheets in a similar way with animations taking place between adjacent cells.
the one thing that really "weighs" in a way, is color.
the more colors you have, the larger the same image is.

if you're fixing sizes for all purposes, you'll have to modify the colors.

ideally, you want your sequences to be all the same frame length, so they can be arranged in the same grid.
if you have animations that differ in length, you can mask the unused frames using a palette: a fixed number of colors shared by the rest of the image, where ONE color will be set as transparent.
if you work with 16 shades for each color, that cuts the color information from 16 million, to 4096.
can you paint something with 4096 total unique colors?

Original thread: https://forums.rpgmakerweb.com/threads/what-loads-faster-a-1x25-image-or-a-5x5-image.132825/