Hi,
I'm exporting from Reunion 14.0 as GEDCOM 7.0 to import into TNG 15, which now supports per-person photo crops through the standard GEDCOM 7 CROP structure. Thanks for adding CROP to the export; it's the feature I've been waiting for. I found two issues that keep it from working correctly in other programs.
1. CROP TOP is measured from the bottom of the image
The GEDCOM 7 spec (gedcom.io/terms/v7/CROP) says LEFT and TOP give the top-left corner of the region, so TOP is measured from the top edge. Reunion's exported TOP is measured from the bottom edge, so every crop lands too low in any program that follows the spec.
Example: knar_kit.jpg, 972 x 648 pixels. In Reunion the crop frames her face correctly. The export says:
TOP 266 crops from her eyes down to her chest. The correct value is 648 − 266 − 212 = 170, which frames her face exactly as Reunion shows it. I've confirmed the same offset on eight photos, including several group photos with up to four crops each. LEFT, WIDTH and HEIGHT are correct. The _CROP value Reunion also writes has the same bottom-origin TOP.
2. Shared photos are written inline instead of as multimedia records
In GEDCOM 7, a photo shared by several people should be one MULTIMEDIA_RECORD (0 @O1@ OBJE with its FILE), with each person linking to it (1 OBJE @O1@) and that person's CROP placed under the link. The spec says CROP is only valid when the link points to a multimedia record. Reunion instead writes the full FILE/FORM/TITL block inline under every person. In my file, 214 shared photos are written out 625 times, and there are no multimedia records at all. TNG happens to cope by matching file names, but that's a workaround on the importer's side. A spec-compliant export would make shared photos unambiguous for any program.
Requests:
- Measure CROP TOP from the top edge in GEDCOM 7 export.
- Export each media item once as a multimedia record and link people to it, with each person's CROP under their link.
I'm working around the first issue with an AI-generated script for now and can send a sample file if that helps.
Thanks,
Dave
I'm exporting from Reunion 14.0 as GEDCOM 7.0 to import into TNG 15, which now supports per-person photo crops through the standard GEDCOM 7 CROP structure. Thanks for adding CROP to the export; it's the feature I've been waiting for. I found two issues that keep it from working correctly in other programs.
1. CROP TOP is measured from the bottom of the image
The GEDCOM 7 spec (gedcom.io/terms/v7/CROP) says LEFT and TOP give the top-left corner of the region, so TOP is measured from the top edge. Reunion's exported TOP is measured from the bottom edge, so every crop lands too low in any program that follows the spec.
Example: knar_kit.jpg, 972 x 648 pixels. In Reunion the crop frames her face correctly. The export says:
Code:
2 CROP 3 TOP 266 3 LEFT 315 3 HEIGHT 212 3 WIDTH 201
2. Shared photos are written inline instead of as multimedia records
In GEDCOM 7, a photo shared by several people should be one MULTIMEDIA_RECORD (0 @O1@ OBJE with its FILE), with each person linking to it (1 OBJE @O1@) and that person's CROP placed under the link. The spec says CROP is only valid when the link points to a multimedia record. Reunion instead writes the full FILE/FORM/TITL block inline under every person. In my file, 214 shared photos are written out 625 times, and there are no multimedia records at all. TNG happens to cope by matching file names, but that's a workaround on the importer's side. A spec-compliant export would make shared photos unambiguous for any program.
Requests:
- Measure CROP TOP from the top edge in GEDCOM 7 export.
- Export each media item once as a multimedia record and link people to it, with each person's CROP under their link.
I'm working around the first issue with an AI-generated script for now and can send a sample file if that helps.
Thanks,
Dave