Results 1 to 2 of 2

Thread: about converToFormat of a QImage

  1. #1
    Join Date
    Oct 2009
    Posts
    70

    Default about converToFormat of a QImage

    Hi,

    If I convert a QImage::Format_Indexed8 to a QImage::Format_ARGB32 does the image get more memory ??!!

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Thanks
    70
    Thanked 59 Times in 57 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: about converToFormat of a QImage

    Hi,

    Of course. You have a 8-bit depth image and you expect a 32-bit depth image with the same memory size?? It will be 3 times bigger.
    Òscar Llarch i Galán

Similar Threads

  1. QImage and Qt 4.5.3
    By halmassi in forum Newbie
    Replies: 26
    Last Post: 10th March 2010, 21:49
  2. QImage
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2007, 20:35
  3. What's faster: QPixmap-to-QImage or QImage-to-QPixmap
    By forrestfsu in forum Qt Programming
    Replies: 2
    Last Post: 15th December 2006, 17:11
  4. QImage Help Pls
    By munna in forum Newbie
    Replies: 4
    Last Post: 5th June 2006, 12:02
  5. Replies: 3
    Last Post: 15th March 2006, 11:44

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.