Results 1 to 12 of 12

Thread: QImageReader fails inconsistently with "Unable to read image data".

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Default Re: QImageReader fails inconsistently with "Unable to read image data".

    Reading the image in scaled down form performs better than scaling down after reading.

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

    Default Re: QImageReader fails inconsistently with "Unable to read image data".

    A 4288 x 2848 image with 24-bits per pixel is ~36MB per image uncompressed in memory (48MB if there's an alpha channel). Loading lots of these is certainly a rapid way to consume memory.

Similar Threads

  1. "Unable to read symbols" Problem
    By weaver4 in forum Newbie
    Replies: 10
    Last Post: 20th December 2012, 22:36
  2. Replies: 4
    Last Post: 2nd June 2012, 07:04
  3. why "Unable to read image data"
    By zarelaky in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st December 2010, 00:47
  4. QTcpSocket read duplicate data, but only on "bad channel"
    By creatron in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2010, 19:17
  5. Replies: 1
    Last Post: 7th April 2010, 21:46

Tags for this Thread

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.