mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 12:35:29 -04:00
PSD: Add missing guide info in metadata
(cherry picked from commit 78832ed923efb18e79247c2639aae467a3ad8de6)
This commit is contained in:
parent
8627c3fc32
commit
7b3f0254fd
@ -203,6 +203,7 @@ public final class PSDMetadata extends AbstractMetadata {
|
|||||||
IIOMetadataNode guideNode = new IIOMetadataNode("Guide");
|
IIOMetadataNode guideNode = new IIOMetadataNode("Guide");
|
||||||
guideNode.setAttribute("location", Integer.toString(guide.location));
|
guideNode.setAttribute("location", Integer.toString(guide.location));
|
||||||
guideNode.setAttribute("orientation", GUIDE_ORIENTATIONS[guide.direction]);
|
guideNode.setAttribute("orientation", GUIDE_ORIENTATIONS[guide.direction]);
|
||||||
|
node.appendChild(guideNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (imageResource instanceof PSDPixelAspectRatio) {
|
else if (imageResource instanceof PSDPixelAspectRatio) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user