mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 19:34:48 -04:00
PSD: Add missing guide info in metadata
(cherry picked from commit 78832ed923
)
This commit is contained in:
committed by
Harald Kuhr
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) {
|
||||||
|
Reference in New Issue
Block a user