Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. A really fascinating breakdown of dithering in graphics rendering

A really fascinating breakdown of dithering in graphics rendering

Scheduled Pinned Locked Moved The Weird and The Wonderful
graphicsiotalgorithms
6 Posts 3 Posters 44 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • honey the codewitchH Online
    honey the codewitchH Online
    honey the codewitch
    wrote on last edited by
    #1

    Arbitrary-palette positional dithering algorithm[^] I've been working on supporting color e-paper devices in IoT gadgets where the e-paper ranges from 2 to 7 colors that I've seen. In order to allow you to load JPEG images onto these displays reasonably, some amount of dithering is extremely helpful, but I never thought it could be so involved. Even if I never used it, this is an interesting read.

    Real programmers use butterflies

    R D 2 Replies Last reply
    0
    • honey the codewitchH honey the codewitch

      Arbitrary-palette positional dithering algorithm[^] I've been working on supporting color e-paper devices in IoT gadgets where the e-paper ranges from 2 to 7 colors that I've seen. In order to allow you to load JPEG images onto these displays reasonably, some amount of dithering is extremely helpful, but I never thought it could be so involved. Even if I never used it, this is an interesting read.

      Real programmers use butterflies

      R Offline
      R Offline
      RedDk
      wrote on last edited by
      #2

      Huh ... Here's a link to the source code of one of my favorite, albeit antique, developer's learn'in tomes: GitHub - jagregory/abrash-black-book: Markdown source for Michael Abrash's Graphics Programming Black Book[^] I'm not suggesting that I ever read any of the text, but I'm more than certain I spent countless hours running code fragments derived from the rest of it's innards. And once again, that timeless gonfalon is hung out: (squint, squint) "Patience, a virtue is ... Yes?"

      honey the codewitchH 1 Reply Last reply
      0
      • R RedDk

        Huh ... Here's a link to the source code of one of my favorite, albeit antique, developer's learn'in tomes: GitHub - jagregory/abrash-black-book: Markdown source for Michael Abrash's Graphics Programming Black Book[^] I'm not suggesting that I ever read any of the text, but I'm more than certain I spent countless hours running code fragments derived from the rest of it's innards. And once again, that timeless gonfalon is hung out: (squint, squint) "Patience, a virtue is ... Yes?"

        honey the codewitchH Online
        honey the codewitchH Online
        honey the codewitch
        wrote on last edited by
        #3

        I used to own that book.

        Real programmers use butterflies

        R 1 Reply Last reply
        0
        • honey the codewitchH honey the codewitch

          I used to own that book.

          Real programmers use butterflies

          R Offline
          R Offline
          RedDk
          wrote on last edited by
          #4

          Ha! I might have ripped the pages out quicker, had I known the code'd have been accessibly posted in the future. But as it was I must have scattered more than a few pages, crumpled up in individual wads then thrown into the bottom of a shipping box to serve as padding for those heavier X-mas gifts sent east ... through the years.:cool:

          1 Reply Last reply
          0
          • honey the codewitchH honey the codewitch

            Arbitrary-palette positional dithering algorithm[^] I've been working on supporting color e-paper devices in IoT gadgets where the e-paper ranges from 2 to 7 colors that I've seen. In order to allow you to load JPEG images onto these displays reasonably, some amount of dithering is extremely helpful, but I never thought it could be so involved. Even if I never used it, this is an interesting read.

            Real programmers use butterflies

            D Offline
            D Offline
            Daniel Pfeffer
            wrote on last edited by
            #5

            Very interesting! I certainly learnt a few things about dithering that I didn't know before...

            Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

            honey the codewitchH 1 Reply Last reply
            0
            • D Daniel Pfeffer

              Very interesting! I certainly learnt a few things about dithering that I didn't know before...

              Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

              honey the codewitchH Online
              honey the codewitchH Online
              honey the codewitch
              wrote on last edited by
              #6

              I use a variant of one his algorithms in my code, but it's not fast enough for me for the devices I want to target. Then again, 640x448x3bits is taxing for any IoT device, even without dithering and color matching. :doh: I'm not even sure if that screen is practical at all though and I won't know until it arrives. It could be that the Pi is the only thing I have that will run it.

              Real programmers use butterflies

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups