factorio-item-browser / export

The export scripts to generate the data to be imported into the API server of the Factorio Item Browser.
GNU General Public License v3.0
0 stars 0 forks source link

Icon Renderer: Wrong rendering #2

Closed BluePsyduck closed 6 years ago

BluePsyduck commented 6 years ago

The icon renderer currently has multiple issues which lead to wrong rendering of certain icons.

1. Original size of icons

The icon renderer is currently ignoring the original size of the icons, assuming they are always 32x32 px. This leads to wrong results as soon as icons with other sizes are involved.

Example:

Mod: Orbital Ion Cannon Item: ion-cannon-targeter, orbital-ion-cannon

2. Tinting layers

There seems to be a problem with tinting layers, especially if the first layer already has a tint. The layer then seems to appear completely white.

Example:

Mod: DyWorld Item: iron-pebble