• einfach_orangensaft@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      1 day ago

      i mean yeah, its a honest loss of information, jpg on the other hand introduces compression artifacts that are basically hallucinations, meaning it pretends to have more data than it actually has and humans compensate for that thru image recognition and fantasy.

    • tias@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      23 hours ago

      It’s really only helpful for formats that will be directly read by hardware (the video chip) and where the “compression” ratio (I would prefer the term quantization) needs to be fixed. For file compression, which was quite mature but CPU- and memory-intensive at the time, the dithering only makes it more difficult to compress further.

      Compressed textures on modern GPUs actually use similar compression: a color palette followed by indexes into the palette. But that’s done per 4x4 pixel block.

        • tias@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          16 hours ago

          At the time when dithering was commonly used to achieve the illusion of more available colors, i.e. the 80s and the first half of the 90s.

          • PeriodicallyPedantic@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            16 hours ago

            I’m not really convinced that file compression was “mature” at the time. Text compression was reasonable progressed but image compression was created for a reason besides just a requirement for fixed compression ratio.

            But I do agree that dithering was limited in it’s usefulness.

            My point was just that dithering existed in print media, so it was one of the first ways they used to reduce image size, they just copied over the same technique

            • tias@discuss.tchncs.de
              link
              fedilink
              arrow-up
              5
              ·
              edit-2
              16 hours ago

              I’m thinking of file compression formats like Zip, LHA and ARJ, which would work particularly well if the image was not dithered and used run-length encoding (e.g. the PIC format of the Atari ST). The PNG format still uses the deflate algorithm which is essentially identical to the compression used by PKZip in 1991.