Results 1 to 4 of 4

Thread: How to create a smooth image from data?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to create a smooth image from data?

    Hi,

    I have a 2D data matrix and a colormap that I can convert each data point to a QColor, with that I create a Format_ARGB32 image.

    When I zoom in the image, the image appears very rough with square blocks (see attachment).

    How can I create a smooth image from the raw data? Is it possible to use QGradient for that?

    An example is very much appreciated.

    Thanks!
    Attached Images Attached Images
    • File Type: png 1.png (1.4 KB, 16 views)

Similar Threads

  1. smooth panning and zooming an image, to use OpenGL or not?
    By scarleton in forum Qt Programming
    Replies: 0
    Last Post: 27th August 2010, 22:25
  2. Create Transparent PNG Image
    By hvitual in forum Qt Programming
    Replies: 1
    Last Post: 2nd August 2009, 14:35
  3. Replies: 1
    Last Post: 31st January 2009, 23:00
  4. Using a 2d data array to create an image
    By dbrmik in forum Newbie
    Replies: 20
    Last Post: 28th October 2008, 17:22
  5. Create pixmap image from string
    By Morea in forum Qt Programming
    Replies: 5
    Last Post: 17th November 2006, 16:38

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.