SLADE icon indicating copy to clipboard operation
SLADE copied to clipboard

Wrong PNG transparency color

Open Darkcrafter07 opened this issue 2 months ago • 0 comments

SLADE Version

3.2.3

OS

Windows

Editor

Resource editor

Steps to Reproduce and Observed Behavior

  1. 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.
  2. Select transparency color and set it to the correct one - the last one in the 256 colored palette: color n256 (somewhat pink)
  3. Get a transparent PNG with the game palette but with the transparency color misplaced in a random color place.

Expected Behavior

  1. 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.

Screenshots

Palette_transparency_issues

Darkcrafter07 avatar Apr 10 '24 06:04 Darkcrafter07