Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-12699

Some PNGs using greyscale or tRNS are processed incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w03b
    • Minecraft 1.5.1, Snapshot 13w19a, Snapshot 13w21a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w36a, Minecraft 13w36b, Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 14w08a, Minecraft 14w29b, Minecraft 1.8, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w42a, Minecraft 1.9, Minecraft 1.10
    • Community Consensus

      Minecraft does not process some PNGs correctly. Specifically, it does not seem to implement the tRNS specification fully, nor does it handle greyscale PNGs correctly. Attached are some vanilla textures from the most recent snapshot as of this writing (15w42a) that render incorrectly when compressed with ScriptPNG's most aggressive lossless setting. (If Mojang did this compression themselves, Minecraft's PNGs would be 34.45% [1299 KB] smaller, which is a not-insignificant amount of bandwidth.)

        1. MC-12699_example_compressed.png
          99 kB
          GFD
        2. MC-12699_example_vanilla_distro.png
          111 kB
          GFD
        3. MC-12699_snow_example.png
          46 kB
          GFD

            grum [Mojang] Grum (Erik Broes)
            gfd GFD
            Votes:
            16 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: