PSD: Add missing guide info in metadata

(cherry picked from commit 78832ed923)
This commit is contained in:
Davide Tantillo
2023-01-31 23:49:44 +01:00
committed by Harald Kuhr
parent 8627c3fc32
commit 7b3f0254fd

View File

@@ -203,6 +203,7 @@ public final class PSDMetadata extends AbstractMetadata {
IIOMetadataNode guideNode = new IIOMetadataNode("Guide");
guideNode.setAttribute("location", Integer.toString(guide.location));
guideNode.setAttribute("orientation", GUIDE_ORIENTATIONS[guide.direction]);
node.appendChild(guideNode);
}
}
else if (imageResource instanceof PSDPixelAspectRatio) {