ImageMetaData (set/edit EXIF/IPTC/XMP-metadata and Comment of image files by Exiv2 lib) content plugin
Moderators: Hacker, petermad, Stefan2, white
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
Any ideas before a new version is going to be released?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?
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
- planningall
- Junior Member
- Posts: 8
- Joined: 2009-12-17, 17:19 UTC
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
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
xmpMM and photoshop meta searching
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.
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.
Re: xmpMM and photoshop meta searching
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.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.
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.
Re: content plugin: ImageMetaData
Is there a way to modify the number of decimals for GPS coordinates?
TC 10.xx / #266191
Win 10 x64
Win 10 x64
Re: content plugin: ImageMetaData
Hm, currently I do for floating point numbers:
Thus, it is not configurable as of now.
Code: Select all
std::wstringstream wss;
wss << std::setiosflags(std::ios::fixed) << std::setprecision(5) << *(double*)FieldValue;
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
Re:
Hi Thomastbeu wrote: 2017-04-20, 11:10 UTC @Peter
regarding a) Yes, I intend to update exiv2.lib to v0.26 once it is released.
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 10.xx / #266191
Win 10 x64
Win 10 x64
ImageMetaData plugin 2.3.6.2
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)
• 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