Results 1 to 3 of 3

Thread: [Problem] Qt load large image

  1. #1

    Default [Problem] Qt load large image

    hi


    Qt whether provide any api can load large image and only use memory the part that you can see.

    Now i use many tiles to combine one large image.

    But files too much, build the sis and install in N8 take me 30 min the progress only 50%

    Ant it be interrupted because the memory is not enough.

    I think I have two ways. One is solve the load large the memory usage problem.

    Another is sis package numerous files install problem.

    Anyone have a good idea for this problem?

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: [Problem] Qt load large image

    No, Qt doesn't have a way to load just a part of an image file, to my knowledge. You need to write such a function yourself.

    When it comes to your horribly large SIS taking 30 minutes to install, I don't think any mobile user waits that long for something to install. It might be better to just install the application and load data from Internet as needed -- that's what the smartphones are designed for.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: [Problem] Qt load large image

    Quote Originally Posted by mvuori View Post
    No, Qt doesn't have a way to load just a part of an image file, to my knowledge.
    Actually it does or at least provides an ability for image handlers to support it. However which of the existing handlers DO support it, one has to check by himself.

    Have a look at QImageIOHandler::ImageOption and specifically at ClipRect.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. how to load image from one ui to another
    By trupti in forum Qt Programming
    Replies: 0
    Last Post: 3rd January 2011, 05:43
  2. how do load image
    By yuvaraj.yadav in forum Qt Programming
    Replies: 5
    Last Post: 21st April 2009, 05:31
  3. Is there a better way to load a big image?
    By learning_qt in forum Qt Programming
    Replies: 3
    Last Post: 26th November 2008, 15:00
  4. best way to load image from db
    By C167 in forum Qt Programming
    Replies: 2
    Last Post: 10th April 2008, 18:24
  5. Scroll large image in game
    By Morea in forum Qt Programming
    Replies: 2
    Last Post: 11th August 2006, 23:06

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.