[0.18.27] Icons are blurry on 100% scale

Bugs that are actually features.
Post Reply
Phoenix27833
Inserter
Inserter
Posts: 47
Joined: Mon Aug 27, 2018 12:46 pm
Contact:

[0.18.27] Icons are blurry on 100% scale

Post by Phoenix27833 »

Most of the new icons appear blurry at 100% scale.

On the left I set the game to 200% and then rescaled the screenshot by half in mspaint.
On the right is the ingame icons on 100%
The rescaled icons in paint are much clearer.
Especially visible on solar panel and accumulators
Image

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

Re: [0.18.27] Icons are blurry on 100% scale

Post by Rseding91 »

I can't say for sure but I think that's intentional. If you look at the "good" versions you made they have jagged edges - a problem solved by using anti-aliasing. Which if you applied to the versions you made they would most likely end up like the existing game ones.

The graphics guys will have to say for sure. But to me either side has drawbacks. Slightly 'blurrier' icons or 'jagged edges'.
If you want to get ahold of me I'm almost always on Discord.

coppercoil
Filter Inserter
Filter Inserter
Posts: 472
Joined: Tue Jun 26, 2018 10:14 am
Contact:

Re: [0.18.27] Icons are blurry on 100% scale

Post by coppercoil »

My results are diffent.


(the final result was upscaled for pixel-peeping)

Phoenix27833
Inserter
Inserter
Posts: 47
Joined: Mon Aug 27, 2018 12:46 pm
Contact:

Re: [0.18.27] Icons are blurry on 100% scale

Post by Phoenix27833 »

The icons made with scaling on the left side are anti-aliased, the pixels were blended in resizing rather than sampled. Sure the quality could be improved further with some more processing.
The image on the right makes me feel like I need to get my eyes checked.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.27] Icons are blurry on 100% scale

Post by posila »

I checked and the icons on the right screenshot are pixel perfect to how they were authored for this size (game does downsize images for "non-power-of-two" scales - 125%, 150%, 175%, though)

Murzik
Inserter
Inserter
Posts: 29
Joined: Mon May 01, 2017 1:18 pm
Contact:

Re: [0.18.27] Icons are blurry on 100% scale

Post by Murzik »

There is no best solution to this problem. The issue is that when you rescale a highly detailed graphic image to 50% size, some details are lost inevitably. You can slightly compensate this by increasing contrast, but it may distort edges or smooth parts of an image. In this particular case the problem may be worsened by the screen type used for viewing the images. On my high-DPI screen both 100% and 200% in-game versions look fine.

I used proper software (not MS Paint) to try and replicate different resizing methods. I believe the dev team found a reasonable compromise to keep images detailed enough. There is no bug here whatsoever.
fk1.png
fk1.png (622.21 KiB) Viewed 1748 times

User avatar
V453000
Factorio Staff
Factorio Staff
Posts: 263
Joined: Fri Sep 04, 2015 5:51 pm
Contact:

Re: [0.18.27] Icons are blurry on 100% scale

Post by V453000 »

As Murzik say, I think this is to be expected.

To explain a bit further:

Most of the icons are downscaled using "Bicubic sharper" in Photoshop, some of them are scaled with other methods partially by accident or convenience/speed.

Then there are often at least some adjustments on the 32px versions, small painted adjustments or tweaks to contrast, often through Levels adjustment layer.

Do note that it's possible to have icons be too sharp.

Post Reply

Return to “Not a bug”