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. How to access metadata of an image file
Qt 6.11 is out! See what's new in the release blog

How to access metadata of an image file

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 587 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.
  • D Offline
    D Offline
    drmhkelley
    wrote on last edited by
    #1

    How do I access the metadata stored with image files?

    Specifically, my digital camera records the key camera settings (f-stop, exposure time, focal length, color representation, etc) with each image file. How do I access that info? With Windows file explorer, I just ask to see the "Properties" of a file. I'd like to do that pro grammatically

    This is a specific example of the more general issue - many files include such metadata, but I haven't figure out how to get to it.

    All help appreciated.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Qt does not provide such a functionality out of the box. You need to use an external library like exiv2 for this task.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • D Offline
        D Offline
        drmhkelley
        wrote on last edited by
        #3

        Thanks - I feared that might be the case. Have you used exiv2?Do you how robust their build process for Windows is?

        I bumped into immediate problems with th configure script and didn’t know where to turn for support. My security software basically refused access to the exiv2 online forum, warning of serious security issues.

        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