TMI-60: Support for clip paths in formats containing PSD resources

This commit is contained in:
Harald Kuhr
2014-12-16 11:38:24 +01:00
parent c2e9b585ff
commit 77e6600605
20 changed files with 1374 additions and 0 deletions

View File

@@ -167,9 +167,28 @@ public interface TIFF {
int TAG_OLD_SUBFILE_TYPE = 255; // Deprecated NO NOT WRITE!
int TAG_SUB_IFD = 330;
/**
* XMP record.
* @see com.twelvemonkeys.imageio.metadata.xmp.XMP
*/
int TAG_XMP = 700;
/**
* IPTC record.
* @see com.twelvemonkeys.imageio.metadata.iptc.IPTC
*/
int TAG_IPTC = 33723;
/**
* Photoshop image resources.
* @see com.twelvemonkeys.imageio.metadata.psd.PSD
*/
int TAG_PHOTOSHOP = 34377;
/**
* ICC Color Profile.
* @see java.awt.color.ICC_Profile
*/
int TAG_ICC_PROFILE = 34675;
// Microsoft Office Document Imaging (MODI)

View File

@@ -36,6 +36,9 @@ package com.twelvemonkeys.imageio.metadata.psd;
* @version $Id: PSD.java,v 1.0 24.01.12 16:51 haraldk Exp$
*/
public interface PSD {
/** PSD 2+ Native format (.PSD) identifier "8BPS" */
int SIGNATURE_8BPS = ('8' << 24) + ('B' << 16) + ('P' << 8) + 'S';
/** PSD image resource marker "8BIM". */
int RESOURCE_TYPE = ('8' << 24) + ('B' << 16) + ('I' << 8) + 'M';
@@ -44,4 +47,7 @@ public interface PSD {
/** ICC profile image resource id. */
int RES_ICC_PROFILE = 0x040f;
/** PSD Path resource id. */
int RES_CLIPPING_PATH = 0x07d0;
}