Results 1 to 4 of 4

Thread: Dithering

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    36
    Thanks
    1

    Default Dithering

    Hello.

    I've written a GUI application for Windows CE 6 with Qt 4.7.0 embedded.

    The device on which the application runs support 'only' 16 Bit colordepth.

    I've noticed that e.g. gradients doesn't look very smooth. The color doesn't 'fade smoothly' into the other, but 'make hard steps'.

    I've compared this with the MFC version of my application which I wrote before I switched to Qt. Here this appears to be smoother.

    So I've took a closer look and discovered that MFC seems to use a dithering method which look like Floyd-Steinberg algorithm.

    How can I achieve this with Qt?

    I've attached images of a Qt version and a MFC version (both in original size and 4x zoomed version) of a gradient from #ffffff to #a1a1a1 where the effect can be seen.

    Thank you
    Attached Images Attached Images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.