Image Metadata display

Perhaps you could add support for showing metadata for other mime types? Or better, have an expansion plan for covering metadata reading for more MIME types in the future.

As an example, here is metadata for 3 selected media objects (that included 2 PDFs: 1 as a source another PDFs generated by Gramps) extracted with the appended SuperTool script:

O0001,application/pdf,.gramps/gramps51/plugins/SuperTool_beta/Example52_ancestor_report.pdf,"{'/Producer': 'cairo 1.17.6 (https://cairographics.org)', '/CreationDate': ""D:20231221095623-06'00""}",Media
O0002,image/png,.gramps/gramps51/plugins/SuperTool_beta/Help-Window.png,not a PDF,Media
O0000,application/pdf,.gramps/gramps51/plugins/SuperTool_beta/pedigree_AboutGenealogy_FillableForm(test).pdf,"{'/CreationDate': ""D:20021115112559-05'00'"", '/Producer': 'Inso Kansas City Export PDF filter', '/ModDate': ""D:20070827003754-04'00'""}",Media

SuperTool Script

[Gramps SuperTool script file]
version=1

[title]
SuperTool-Media

[category]
Media

[initial_statements]
from PyPDF2 import PdfReader
# https://pypdf2.readthedocs.io/en/3.0.0/user/metadata.html
# from gramps.gen.mime import get_description, get_type
# from gramps.gen.utils.file import media_path_full
metadatalist = ""

[statements]
if mime == "application/pdf" :
    metadatalist = PdfReader(path).metadata
else :
    metadatalist = "not a PDF"

[filter]

[expressions]
mime, path, metadatalist,

[scope]
selected

[unwind_lists]
False

[commit_changes]
False

[summary_only]
False

22 posts were merged into an existing topic: wxETI for metadata explortation in Windows

A post was merged into an existing topic: wxETI for metadata exploration in Windows