Proper scaling/smoothing of Mod Thumbnails

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 452
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Proper scaling/smoothing of Mod Thumbnails

Post by raiguard »

When making a thumbnail for my new mod, I noticed that the mod thumbnail sprites do not appear to be smoothed/filtered/scaled properly. The game obviously supports proper scaling/smoothing, so it would be nice if the thumbnails could receive this treatment.

100% GUI scale, 100% resolution thumbnail (144x144):
Image

100% GUI scale, 200% resolution thumbnail (288x288):
Image

200% GUI scale, 100% resolution thumbnail (144x144):
Image

200% GUI scale, 200% resolution thumbnail (288x288):
Image

I filed this under suggestions because it's not really anything that breaks the game, but would be an improvement.
Don't forget, you're here forever.

User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 452
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: Proper scaling/smoothing of Mod Thumbnails

Post by raiguard »

Bump. I've run into this issue again with my new Recipe Book mod. The icon looks absolutely HORRIBLE at anything except 2x GUI scale.
Don't forget, you're here forever.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13219
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Proper scaling/smoothing of Mod Thumbnails

Post by Rseding91 »

You want mipmaps for your icons; the same way the base game defines them for several of the GUI icons in base.
If you want to get ahold of me I'm almost always on Discord.

User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 452
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: Proper scaling/smoothing of Mod Thumbnails

Post by raiguard »

This is the mod thumbnail though, it's not a sprite definition and therefore doesn't support mipmaps AFAIK. Simply formatting it as a mipmapped icon just breaks the entire thing:
2020-02-15 13_08_42-Window.png
2020-02-15 13_08_42-Window.png (26.25 KiB) Viewed 666 times
I include and define mipmaps for all of the icons I use in my mods, so I am very much aware of how they work. :)
Don't forget, you're here forever.

Post Reply

Return to “Ideas and Suggestions”