Results 1 to 2 of 2

Thread: RGB 565 16 bit to rgey scale

  1. #1
    Join Date
    May 2010
    Posts
    8
    Qt products
    Qt/Embedded
    Platforms
    Windows

    Default RGB 565 16 bit to rgey scale

    Hi,

    I am working on ARM based enbedded linux platform. Through an externel image sensing device, a 16 bit RGB565 image is captured and displayed using QImage class. The format used in QT is QImage image((uchar*)fbmem,648,488,648*2,QImage::Format_R GB555);, where 648 is the width and 488 is the height of the image. I am able to get an RGB image format, but I need a grey scale image of 8bit depth. Is there any method in QT where I can convert 16 bit RGB565 format to 8bit grey scale ?

    thank you

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: RGB 565 16 bit to rgey scale


Similar Threads

  1. qwt Scale
    By David812 in forum Qwt
    Replies: 3
    Last Post: 24th May 2011, 09:43
  2. QPainterPath and scale()
    By edwardc in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2010, 11:03
  3. How to Scale Images
    By divya balachandran in forum Newbie
    Replies: 1
    Last Post: 21st January 2009, 15:46
  4. qwt 5 log scale..
    By halberdier83 in forum Qwt
    Replies: 7
    Last Post: 12th November 2007, 08:21
  5. My own scale widget in Qwt
    By igrms in forum Qwt
    Replies: 7
    Last Post: 15th June 2006, 22:18

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.