Page 1 of 1

High resolution icons 64x64 pixels

Posted: Mon Dec 04, 2017 4:42 pm
by darkfrei
Hi all!

Is it possible to add "high resolution" icons 64x64 pixels to item icons?

Re: High resolution icons 64x64 pixels

Posted: Fri Jan 11, 2019 10:44 pm
by darkfrei
Up

Re: High resolution icons 64x64 pixels

Posted: Sat Jan 12, 2019 8:39 am
by Klonan
You can make any icon any size you prefer with the `icon_size` property,
We have fixed several places it didn't work properly in 0.16,
and if you find any other cases after 0.17 releases you can make a bug report

Re: High resolution icons 64x64 pixels

Posted: Sat Jan 12, 2019 8:41 am
by Bilka
Darkfrei wants the option to have a highres version besides the normal icon. I also want that option.

Re: High resolution icons 64x64 pixels

Posted: Sat Jan 12, 2019 8:43 am
by Klonan
Bilka wrote:
Sat Jan 12, 2019 8:41 am
Darkfrei wants the option to have a highres version besides the normal icon. I also want that option.
I don't see the usefulness, if you have the icon in high-res, why not use it?

Re: High resolution icons 64x64 pixels

Posted: Sat Jan 12, 2019 9:18 am
by posila
Icons are tiny compared to everything else, you can as well always use the best version you have (within reason ... using 512x512 image for what normally is 32x32 icon, is not reasonable)

Or am I misunderstanding and you want the game to load both 64x64 and 32x32 images and during rendering decide which of them to use based on how scaled the icon is?

Re: High resolution icons 64x64 pixels

Posted: Sat Jan 12, 2019 3:30 pm
by Arch666Angel
Did you already fix the issue when dropping an item with a 64x64 on the ground it's also unscaled? So twice (technically 4 times) the size of the 32x32 icon item?

Re: High resolution icons 64x64 pixels

Posted: Sat Jan 12, 2019 4:34 pm
by posila
Arch666Angel wrote:
Sat Jan 12, 2019 3:30 pm
Did you already fix the issue when dropping an item with a 64x64 on the ground it's also unscaled? So twice (technically 4 times) the size of the 32x32 icon item?
As far as I know, that is fixed viewtopic.php?t=57683

Re: High resolution icons 64x64 pixels

Posted: Mon Jan 14, 2019 9:59 am
by bobingabout
I have some strange sized icons in one of my mods, because with the icon-size tag, I didn't see the point in resizing down to 32x32. such as I have one that is 40x40

But I agree with the consensus here, if you have a 64x64 icon, why not just use that?

But I can understand the "have both, let the game decide which is best to use" approach, it reminds me of older windows where icons could be 16x16 or 32x32 depending on where you were, and the 16x16 icon could sometimes look nothing like the 32x32 icon, to show the desired information in a more compact way instead of just scaling.
compare for example a technology icon with it's item, say, inserters for example, there's quite a few technology icons for inserters that barely resemble the icon for the item itself. imagine if you had one of those crisp detailed renders of an inserter for a 64x64, or even 128x128 icon. Would you really want that to be displayed for your 32x32 icon? or even the 10x10 or whatever it is in world item sprite? it might just end up being a blurry mess!

Re: High resolution icons 64x64 pixels

Posted: Mon Jan 14, 2019 2:48 pm
by Arch666Angel
bobingabout wrote:
Mon Jan 14, 2019 9:59 am
Would you really want that to be displayed for your 32x32 icon? or even the 10x10 or whatever it is in world item sprite? it might just end up being a blurry mess!
New viewing mode: Feel like an old man/woman