Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Serializing Tons of Images

Serializing Tons of Images

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anas A. Ismail
    wrote on last edited by Anas A. Ismail
    #1

    Hello Everyone, I wanted to ask what should I do to load huge amount of images to be displayed in albums as thumbnails and displayed on their original size. Any ideas ? P.S. all of this is done using qml

    T 1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      there is nothing in http://doc.qt.io/qt-5/qtquick-demos-photoviewer-example.html
      that can be reused or its too slow?

      A 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        there is nothing in http://doc.qt.io/qt-5/qtquick-demos-photoviewer-example.html
        that can be reused or its too slow?

        A Offline
        A Offline
        Anas A. Ismail
        wrote on last edited by
        #3

        @mrjj I tried to extend this example to make it loading images from local directories using FolderListModel, but it's too slow, do you have any ideas ?
        Moreover, I have a problem when I load new folder using File Dialog all loaded folders point to the same directory,
        Thanks

        mrjjM 1 Reply Last reply
        0
        • A Anas A. Ismail

          @mrjj I tried to extend this example to make it loading images from local directories using FolderListModel, but it's too slow, do you have any ideas ?
          Moreover, I have a problem when I load new folder using File Dialog all loaded folders point to the same directory,
          Thanks

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Anas-A.-Ismail
          Ok. sadly Im not into qml so best bet is someone answer in that group.

          A 1 Reply Last reply
          0
          • mrjjM mrjj

            @Anas-A.-Ismail
            Ok. sadly Im not into qml so best bet is someone answer in that group.

            A Offline
            A Offline
            Anas A. Ismail
            wrote on last edited by
            #5

            @mrjj Thanks, I do appreciate your help.

            1 Reply Last reply
            0
            • A Anas A. Ismail

              Hello Everyone, I wanted to ask what should I do to load huge amount of images to be displayed in albums as thumbnails and displayed on their original size. Any ideas ? P.S. all of this is done using qml

              T Offline
              T Offline
              t3685
              wrote on last edited by
              #6

              @Anas-A.-Ismail

              Have you tried setting the asynchronous property of the Image element to true?

              http://doc.qt.io/qt-5/qml-qtquick-image.html#asynchronous-prop

              A 1 Reply Last reply
              0
              • T t3685

                @Anas-A.-Ismail

                Have you tried setting the asynchronous property of the Image element to true?

                http://doc.qt.io/qt-5/qml-qtquick-image.html#asynchronous-prop

                A Offline
                A Offline
                Anas A. Ismail
                wrote on last edited by
                #7

                @t3685 Yes, I tried it and it didn't fix, I think I understood the problem,
                actually the image are loaded in memory, I want to load their thumbnails only and load it into memory whenever I click on the thumbnail, do you have any ideas about this ?

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved