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. Save rotated Image with original MetaData?
Forum Updated to NodeBB v4.3 + New Features

Save rotated Image with original MetaData?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 522 Views 2 Watching
  • 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.
  • M Offline
    M Offline
    meetPeet
    wrote on last edited by
    #1

    Hey Guys,

    i have read an Image to QImage and the Meta Data with easyexif. After this i have modified the QImage, and tried to save with QImageWriter, but he deletes the Meta Data from Picture..Is there any solution?

    raven-worxR 1 Reply Last reply
    0
    • M meetPeet

      Hey Guys,

      i have read an Image to QImage and the Meta Data with easyexif. After this i have modified the QImage, and tried to save with QImageWriter, but he deletes the Meta Data from Picture..Is there any solution?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @meetPeet
      no, since a QImage has no metadata and thus gets already lost when reading the image

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • Kent-DorfmanK Offline
        Kent-DorfmanK Offline
        Kent-Dorfman
        wrote on last edited by Kent-Dorfman
        #3

        OP doesn't say what image containter format is being used. Since reading it in as a QImage loses the original metadata then save the metadata independently, before modifying it, and use a 3rd party utility to "fix" the metadata in the output image after it's been modified. Tools like imageMagik come to mind and there are others. OP alreadys knows about easyexif.

        Or write your own image reader/writer...that might be "fun". Heck, the whole operation might be able to be done in an existing 3rd party image tool.

        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