Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to Embed Thumbnail image on an Jpeg Image
QtWS25 Last Chance

How to Embed Thumbnail image on an Jpeg Image

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 1.7k 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.
  • B Offline
    B Offline
    beemaneni
    wrote on last edited by
    #1

    Hi Friends,

    Eid Mubarak to all.......:-)

    Here i come up with a problem of how to embed thumbnail property in to an jpeg image in qml.As we know the frame format has metadata,image and thumbanil in it.Here i create thumbnail using rectangle(128x128) and using Exif properties i need to embed on original image..How do i do that..Any guidance and help would be highly appreciated..

    Thanks in Advance friends,

    Bala B
    Infinite Computer systems
    Chennai

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      For that you'll need to go lower-level. AFAIK Qt does not provide any facility to embedded thumbnails, you'll have to write a helper class using the jpeg library to update your image file with it

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        beemaneni
        wrote on last edited by
        #3

        Hi SGaist

        Thanks for ur reply..I will try with some other solution

        Bala B
        Infinite Computer systems
        Chennai

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          Do you want just embed the image inside image ? Is it ok if the final image is displayed on widget ?

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @ Dheerendra what beemameni wants is not to superpose two images but to write the thumbnail version in the "meta-data" of the original image

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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