Page 1 of 1

screenshot.png size

PostPosted: Sun May 31, 2015 01:24
by Wuzzy
Hi! I know the file “screenshot.png” can be used as a preview image for mods. However, I don't know which size I should use. It seems the displayed size in the main menu has varied a lot between Minetest versions.

So is there any size you can recommend? Is there even a guarantee that the screenshot won't be distorted again in future Minetest version because of changes to the display size?

Re: screenshot.png size

PostPosted: Tue Jun 02, 2015 06:24
by cd2
use at least 200 by 150 px

Re: screenshot.png size

PostPosted: Tue Jun 02, 2015 06:26
by Wuzzy
That does not help me much. I want to know a precise size. Or at least I need to know the correct aspect ratio.
If these numbers are even reliable for future versions. ;-(

Re: screenshot.png size

PostPosted: Tue Jun 02, 2015 16:04
by addi
Finaly i found my old post. I had the same question again. Dont know why it is in WIP Mods.
viewtopic.php?f=9&t=7853
RealBadAngel at 27 Nov 2013 wrote:320x240? wild guess, it worked for me

not shure if its already uptodate.

Re: screenshot.png size

PostPosted: Tue Jun 02, 2015 22:53
by kaeza
From the source, it seems the aspect ratio is 3:2. The *actual* (as in, pixel) dimensions of the image vary depending on screen resolution/window size and is scaled accordingly.

EDIT: Maybe 360x240 would be a good choice (480x320 if you want/need more detail).