Jump to content

Copy-Paste tags


lintujuh

Recommended Posts

Was the pasted tag truncated right after applying the "Paste Tags" command or did you invoke the "Read Tags from File" after the "Paste Tags" command.

 

Please also check metadata of this image via ExifTool ((Item > Actions > Display All Metadata) and tell me whether this truncated category is existed in the IPTC section?

 

IPTC Category has a limitation of 32 symbols, and your truncated category also contains 32 symbols.

Link to comment
Share on other sites

You were right, the truncated category is in the IPTC section. I also checked the original image, from which I copied the tags from, and the tag was also there truncated to "...Architec".

 

I need to change my category naming scheme, because I wasn't aware of the limitation of 32 characters. I would also be good idea, if Daminion would show a warning, if there limitations in the underlying specs.

Link to comment
Share on other sites

You were right, the truncated category is in the IPTC section. I also checked the original image, from which I copied the tags from, and the tag was also there truncated to "...Architec".

 

I need to change my category naming scheme, because I wasn't aware of the limitation of 32 characters. I would also be good idea, if Daminion would show a warning, if there limitations in the underlying specs.

 

These problems appear only if "Compatibility with old programs" option is checked in the "Writing Metadata" secion in your Preferences. By default Daminion writes to XMP that doesn't have such limitations.

 

However Daminion while importing tries to analyze whether the truncated category is subset of the "normal" category from the XMP section, and doesn't import it if it does. I'll recheck it.

 

Updated: just checked it, and all seems Ok on my side. Maybe this is an category created by an old Daminion version?

Link to comment
Share on other sites

What is your recommendation, how I could convert the old scheme to a new? Write tags from Daminion to images, use exiftool to copy tags from image to xmp, or what?

 

You can just remove the truncated entries in your catalog tags panel. That is. Daminion should ignore truncated IPTC versions of the Keywords and Categories while importing image metadata.

Link to comment
Share on other sites

  • 4 months later...

I'm using the latest version of Daminian 3.0 (994) still noticing problem with truncated Categories in files. Used import Wizard to import data from HDD and had option selected to create categories from directory names.

 

Categories look fine when viewed in Daminian, but if I view file metadata - category info was written only in to IPTC:SupplementalCategory.

 

If I rewrite metadata in the file with Actions->Write Tags to File, category still gets written in to IPTC:SupplementalCategory

 

I have the following option "Preferences:Writing Metadata:Add Comparability with Windows Explorer and old programs" UNCHECKED, so Daminion should be writing to XMP, but it's writing to IPTC anyway.

 

According to "Daminian Metadata Mapping Rules" - Categories should be written in to XMP:Photoshop:SupplementalCategories, but it's not the case! Categories are actually being written in to IPTC:SupplementalCategory, and there is NOTHING being written in to XMP:Photoshop:SupplementalCategories tag. Please investigate!

Link to comment
Share on other sites

Could you please update to the Daminion 3.2 1006 build and check again.

 

I updated to build 1006 today. The problem still remains.

 

What media format did you try to update?

 

JPEG

 

Can you send me a sample file?

 

IMG_0864.JPG is in the attachment as an example of the problem

 

When importing pictures in to Daminian, I checked "Create Categories From Folder Names" in "Choose Files To Import" dialog box.

 

Image in the attachment was residing in the following directory:

"Q:\Media\Personal\Pictures\Inbox\Car repair photos\Workshop\Forklifting stuff"

 

After sorting and organizing categories in Daminion, it ended-up in the following category:

"Workshop|Equipment|Material Handling|Machinery|Yale Forklift"

 

JPEG metadata is now showing up in ExifTool as IPTC - Suplemental Categories:

"Workshop|Equipment|Material Hand"

Note that it is truncated after 32 characters.

 

I would like to get my categories information out of Daminion database and back in to my pictures. Please help!

 

---- ExifTool ----

ExifTool Version Number 9.44

 

---- File ----

File Name IMG_0864.JPG

Directory Q:/Media/Personal/Pictures/Inbox/Car repair photos/Workshop/Forklifting stuff

File Size 2.6 MB

File Modification Date/Time 2014:05:14 11:47:43-04:00

File Access Date/Time 2014:05:14 11:47:43-04:00

File Creation Date/Time 2012:12:24 19:50:08-05:00

File Permissions rw-rw-rw-

File Type JPEG

MIME Type image/jpeg

Exif Byte Order Little-endian (Intel, II)

Current IPTC Digest 178731ccc72544ba0841c863f7a300a0

Image Width 4000

Image Height 3000

Encoding Process Baseline DCT, Huffman coding

Bits Per Sample 8

Color Components 3

Y Cb Cr Sub Sampling YCbCr4:2:2 (2 1)

 

---- EXIF ----

Make Canon

Camera Model Name Canon PowerShot SD960 IS

Orientation Horizontal (normal)

X Resolution 180

Y Resolution 180

Resolution Unit inches

Modify Date 2014:05:14 11:47:43

Y Cb Cr Positioning Co-sited

Exposure Time 1/15

F Number 2.8

ISO 500

Exif Version 0221

Date/Time Original 2012:12:24 18:50:09

Create Date 2012:12:24 18:50:09

Components Configuration Y, Cb, Cr, -

Compressed Bits Per Pixel 3

Shutter Speed Value 1/15

Aperture Value 2.8

Max Aperture Value 2.8

Flash Auto, Fired, Red-eye reduction

Focal Length 5.0 mm

Flashpix Version 0100

Color Space sRGB

Exif Image Width 4000

Exif Image Height 3000

Interoperability Index R98 - DCF basic file (sRGB)

Interoperability Version 0100

Related Image Width 4000

Related Image Height 3000

Focal Plane X Resolution 16393.44262

Focal Plane Y Resolution 16393.44262

Focal Plane Resolution Unit inches

Sensing Method One-chip color area

File Source Digital Camera

Custom Rendered Normal

Exposure Mode Auto

Digital Zoom Ratio 1

Scene Capture Type Standard

Lens Model 5-20mm

Compression JPEG (old-style)

Thumbnail Offset 5120

Thumbnail Length 6582

 

---- MakerNotes ----

Macro Mode Normal

Self Timer Off

Quality Fine

Canon Flash Mode Red-eye reduction (Auto)

Continuous Drive Single

Focus Mode Single

Record Mode JPEG

Canon Image Size Large

Easy Mode Full auto

Digital Zoom None

Contrast Normal

Saturation Normal

Sharpness 0

Camera ISO Auto

Metering Mode Evaluative

Focus Range Auto

AF Point Face Detect

Canon Exposure Mode Easy

Lens Type Unknown (-1)

Max Focal Length 20 mm

Min Focal Length 5 mm

Focal Units 1000/mm

Max Aperture 2.8

Min Aperture 5.6

Flash Bits E-TTL, Built-in

Focus Continuous Continuous

AE Setting Normal AE

Image Stabilization On

Zoom Source Width 4000

Zoom Target Width 4000

Spot Metering Mode Center

Manual Flash Output n/a

Focal Type Zoom

Focal Plane X Size 6.35 mm

Focal Plane Y Size 4.75 mm

Auto ISO 486

Base ISO 100

Measured EV 4.44

Target Aperture 2.8

Target Exposure Time 1/15

Exposure Compensation 0

White Balance Auto

Slow Shutter Off

Shot Number In Continuous Burst 0

Optical Zoom Code 0

Flash Guide Number 6

Flash Exposure Compensation 0

Auto Exposure Bracketing Off

AEB Bracket Value 0

Control Mode Camera Local Control

Focus Distance Upper 3.72 m

Focus Distance Lower 0 m

Bulb Duration 0

Camera Type Compact

Auto Rotate None

ND Filter Off

Self Timer 2 0

Flash Output 400

Canon Image Type IMG:PowerShot SD960 IS JPEG

Canon Firmware Version Firmware Version 1.01

File Number 106-0864

Owner Name

Rotation 0

Camera Temperature 12 C

Canon Model ID PowerShot SD960 IS / Digital IXUS 110 IS / IXY Digital 510 IS

AF Area Mode Multi-point AF or AI AF

Num AF Points 9

Valid AF Points 9

Canon Image Width 4000

Canon Image Height 3000

AF Image Width 100

AF Image Height 100

AF Area Widths 18 18 18 18 18 18 18 18 18

AF Area Heights 18 18 18 18 18 18 18 18 18

AF Area X Positions -18 0 18 -18 0 18 -18 0 18

AF Area Y Positions -18 -18 -18 0 0 0 18 18 18

AF Points In Focus 4

Primary AF Point 4

Thumbnail Image Valid Area 0 0 0 0

Date Stamp Mode Off

My Color Mode Off

Firmware Revision 1.01 rev 4.00

Categories (none)

Intelligent Contrast Off

Image Unique ID 2373635df3e42271db40d1b54498f9d5

VRD Offset 0

 

---- XMP ----

XMP Toolkit XMP Core 5.4.0

Metadata Date 2014:05:14 11:47:43-04:00

ICC Profile Name sRGB IEC61966-2.1

Photographic Sensitivity 500

 

---- IPTC ----

Coded Character Set UTF8

Application Record Version 4

Supplemental Categories Workshop|Equipment|Material Hand

Date Created 2012:12:24

Time Created 18:50:09-05:00

 

---- Photoshop ----

IPTC Digest 178731ccc72544ba0841c863f7a300a0

 

---- Composite ----

Aperture 2.8

Flash Exposure Compensation 0

Date/Time Created 2012:12:24 18:50:09-05:00

Drive Mode Single-frame Shooting

Flash Type Built-In Flash

Image Size 4000x3000

Lens 5.0 - 20.0 mm

Lens ID Canon 5-20mm

Red Eye Reduction Off

Scale Factor To 35 mm Equivalent 5.6

Shooting Mode Full auto

Shutter Curtain Sync 1st-curtain sync

Shutter Speed 1/15

Thumbnail Image (Binary data 6582 bytes, use -b option to extract)

Circle Of Confusion 0.005 mm

Field Of View 65.6 deg

Focal Length 5.0 mm (35 mm equivalent: 27.9 mm)

Hyperfocal Distance 1.66 m

Lens 5.0 - 20.0 mm (35 mm equivalent: 27.9 - 111.7 mm)

Light Value 4.6

Link to comment
Share on other sites

I could not attach the picture that I was referencing in my previous post, because my photo was 2.6 mb and apperently web site is not allowing images over 2mb to be uploaded here. So as a work-around I made a copy, resized that image and uploaded that smaller version here in the attachment - "IMG_0864 - Copy.JPG"

 

Interestingly - when I import this copy of the original image in to Daminion, it gets placed in to correct non-truncated category. So perhaps the issues is not with Daminion, but with Exiftool not showing xmp tag where this category information is being written in to? Can you confirm as I still would like to verify that I can see category information outside Daminion?

 

Thanks!

post-1796-0-74864100-1400083639_thumb.jpg

Link to comment
Share on other sites

Ok, I found the problem:

 

Daminion writes data in to XMP:SupplementalCategories AND in to IPTC:SupplementalCategories fields

 

By default for duplicate tags EXIFTOOL only shows one tag and IPTC tags have higher priority than XMP, so only IPTC:SupplementalCategories is shown. I reran exiftool with -a switch and now it shows both, e.g. for my picture it produced this:

 

---- XMP ----

SupplementalCategories : Workshop|Equipment|Material Handling|Machinery|Moving Palletized Loads

---- IPTC ----

SupplementalCategories : Workshop|Equipment|Material Hand

 

Now I can extract my categories without them getting truncated. Think I'll move categories in to Keywords, as other DAM program and Lightroom don't really support categories.

Link to comment
Share on other sites

Your categories were successfully written into the XMP, but as you said: ExifTool doesn't display the hole XMP block in the "Show All Metadata" window.

 

IPTC has significant limitations for length of the fields: Categories are limited by 32 symbols, Keywords are limited by 64 Symbols. Daminion truncates Categories and Keywords while updating the IPTC block but saves them correctly into the XMP block.

 

Read also our tutorial about using the Categories and Keywords:

https://help.daminion.net/tips/categories-vs-keywords/

Link to comment
Share on other sites

Your categories were successfully written into the XMP, but as you said: ExifTool doesn't display the hole XMP block in the "Show All Metadata" window.

 

IPTC has significant limitations for length of the fields: Categories are limited by 32 symbols, Keywords are limited by 64 Symbols. Daminion truncates Categories and Keywords while updating the IPTC block but saves them correctly into the XMP block.

 

Read also our tutorial about using the Categories and Keywords:

https://help.daminion.net/tips/categories-vs-keywords/

 

Yep. I'm slowly learning.

 

Also, as far as writing - according to that tutorial only XMP should be written, e.g.:

 

Categories Mapping

Read:

XMP: Photoshop.SupplementalCategories

IPTC: SupplementalCategory

Write:

XMP: Photoshop.SupplementalCategories

 

And "DAMINION METADATA MAPPING RULES" also states that IMPC categories are only for reading, no writing e.g.

https://daminion.net/files/daminion-metadata-mapping-rules.pdf

 

Overall I think it's better to use keywords anyways, because other programs tend to ignore categories, there as keywords are commonly supported and accomplish the same thing.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...