ImageMetaData (set/edit EXIF/IPTC/XMP-metadata and Comment of image files by Exiv2 lib) content plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
tbeu
Power Member
Power Member
Posts: 1301
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

2experts: I noticed that the image dump may contain null bytes, especially for binary data. The data are correctly extracted but obviously not correctly copied to the full text field, i.e. the string is terminated at occurence of first null byte. Hence, what should I do if there are null bytes in a full text field value?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Peter
Power Member
Power Member
Posts: 1985
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hi

for the first time I got "tiled TIFFs". Is there a way to find these infos with this tool?

Peter
TC 9.51 / #266191
Win 10 x64
User avatar
tbeu
Power Member
Power Member
Posts: 1301
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

tbeu wrote:2experts: I noticed that the image dump may contain null bytes, especially for binary data. The data are correctly extracted but obviously not correctly copied to the full text field, i.e. the string is terminated at occurence of first null byte. Hence, what should I do if there are null bytes in a full text field value?
Any ideas before a new version is going to be released?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Gothmoth
Junior Member
Junior Member
Posts: 52
Joined: 2009-08-23, 15:56 UTC

Post by *Gothmoth »

first i want to say what a great plugin.

and i like to ask if there is a way to edit the metadata fields directly in the TCr windows?

or if it must be done via the ATTRIBUTES dialog?

it would be much more comfortable to edit directly in the TC window. :)
User avatar
Peter
Power Member
Power Member
Posts: 1985
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Gothmoth wrote:... to edit the metadata fields directly in the TCr windows?...
You mean in the standard file panels?
I don't think that this is possible; all attributes (also the standard) has to be changed in the attrib-dialogue.

Peter
TC 9.51 / #266191
Win 10 x64
User avatar
Hacker
Moderator
Moderator
Posts: 11822
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Gothmoth,
Maybe you would like to support the Editable file list fields request.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
planningall
Junior Member
Junior Member
Posts: 8
Joined: 2009-12-17, 17:19 UTC

Post by *planningall »

hello udol,thank you for your ImageMetaData .

can you do some work to make ImageMetaData support new function?

for example:

name of real format of image file independently of its extension
byte order in integers that require more than one byte: big-endian (Mac), little-endian (PC)
number of images (TIFF), local images or frames (GIF), images plus thumbnails (JPEG). For others — 1
number of layers in PSD and in 1st image in TIFF. For others — 1
width of image in pixels
height of image in pixels
image orientation: Quadrate, Landscape or Portrait
aspect ratio (pixw / pixh)
iagonal in pixels
number of pixels in image (pixw x pixh)
number of samples per pixel (channels in Photoshop)
number of bit per sample (bits per channel)
bit depth (bits per pixel) = spp x bps
image mode: RGB, CMYK, etc. In RGB-a suffix -a means alpha chanel
image data compression method: LZW, RLE, etc.
horizontal resolution
vertical resolution
width of document (pixw / xres)
height of document (pixh / xres)
aspect ratio of document (docw / doch)
diagonal of document
square of document (docw x doch)
forced resolution of image (by user choice, does not affect on resolution saved in file) along both axes. May be used for valuation of image sizes with some arbitrary resolution. If user changes fres in Change attributes dialog, INI file parameter forced_res will be changed in fact
same as docw for fres
same as doch for fres
same as docasp for fres
same as docd for fres
same as square for fres
plugin's INI-file name location. This info is about plugin, not about image file


like this plug : wdx4i
User avatar
Peter
Power Member
Power Member
Posts: 1985
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

@tbeu

two questions:
a) will the plugin get an update? Exiv2 it at version 0.25, and maybe other things have developed through the last years?

b) Is there a limitation in pixelsize? Imagesizes with more than 10.000 or 14.000 are not displayed ...
TC 9.51 / #266191
Win 10 x64
User avatar
tbeu
Power Member
Power Member
Posts: 1301
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

@Peter

regarding a) Yes, I intend to update exiv2.lib to v0.26 once it is released.
doneykoo
Junior Member
Junior Member
Posts: 4
Joined: 2017-04-29, 04:57 UTC

xmpMM and photoshop meta searching

Post by *doneykoo »

hi, the plugin ImageMetaData (JPG comment) is cool and it had helped me a lot.

Now I'm encountering a problem of some of my resources (many), seems to have large Photoshop meta info, which has '<xmpMM:History>' and '<photoshop:DocumentAncestors>'
I've tried to locate them but it seems hard.
Would you consider to also support 'xmpMM' or 'photoshop' meta fields searching in future ImageMetaData (JPG comment) versions?

Still, thanks a lot.
doneykoo
Junior Member
Junior Member
Posts: 4
Joined: 2017-04-29, 04:57 UTC

Re: xmpMM and photoshop meta searching

Post by *doneykoo »

doneykoo wrote:hi, the plugin ImageMetaData (JPG comment) is cool and it had helped me a lot.

Now I'm encountering a problem of some of my resources (many), seems to have large Photoshop meta info, which has '<xmpMM:History>' and '<photoshop:DocumentAncestors>'
I've tried to locate them but it seems hard.
Would you consider to also support 'xmpMM' or 'photoshop' meta fields searching in future ImageMetaData (JPG comment) versions?

Still, thanks a lot.
Ummm, temporarily, I've found a workaround, just to search as text content for *.png, by string of "xmpMM:History" or "photoshop:DocumentAncestors", and got the file list.
Because I just want to find the files, not searching specific content sub-string inside those property fields. So, for now it works for me.
User avatar
Peter
Power Member
Power Member
Posts: 1985
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: content plugin: ImageMetaData

Post by *Peter »

Is there a way to modify the number of decimals for GPS coordinates?
TC 9.51 / #266191
Win 10 x64
User avatar
tbeu
Power Member
Power Member
Posts: 1301
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: content plugin: ImageMetaData

Post by *tbeu »

Hm, currently I do for floating point numbers:

Code: Select all

std::wstringstream wss;
wss << std::setiosflags(std::ios::fixed) << std::setprecision(5) << *(double*)FieldValue;
Thus, it is not configurable as of now.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Peter
Power Member
Power Member
Posts: 1985
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re:

Post by *Peter »

tbeu wrote:
2017-04-20, 11:10 UTC
@Peter

regarding a) Yes, I intend to update exiv2.lib to v0.26 once it is released.
Hi Thomas
crazy as time goes by .....
https://www.youtube.com/watch?v=d22CiKMPpaY

Some new plans for a current update / refreshment? Exiv is at 0.27 .2 since last July...
https://exiv2.org/whatsnew.html

By the way: I'm searching the number of frames for Multiframe-images as TIFF ..
Is it already integrated?

Peter
TC 9.51 / #266191
Win 10 x64
User avatar
tbeu
Power Member
Power Member
Posts: 1301
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

ImageMetaData plugin 2.3.6.2

Post by *tbeu »

Plugin Version 2.3.6.2 is released:
• replaced Exiv2 library 0.24 (r3205) by 0.27.2
• replaced Expat 2.1.0 by Expat 2.2.9
• replaced zlib library 1.2.8 by 1.2.11
• fixed time zone conversion when reading Exif and XMP metadata
• fixed handling of info and warning messages from Exiv2 to always ignore them

Download Version 2.3.6.2: ReadMe, Plugin (x86/x86-64)
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Post Reply