SLADE
SLADE copied to clipboard
Wrong PNG transparency color
SLADE Version
3.2.3
OS
Windows
Editor
Resource editor
Steps to Reproduce and Observed Behavior
- Import a paletted PNG image in a WAD or PK3 opened with Slade and convert it to a different palette. Let it be either Doom or Duke Nukem 3D.
- Select transparency color and set it to the correct one - the last one in the 256 colored palette: color n256 (somewhat pink)
- Get a transparent PNG with the game palette but with the transparency color misplaced in a random color place.
Expected Behavior
- Doom, Duke Nukem 3D palettes have always their transparency color last in the palette (color index n256) but what Slade does instead is that it sets the transparency color in a random place of a palette and leaves the original n256 color untouched thus corrupting graphics colors.