public final class ImageResourceID extends Object implements IEnumValue
Image resources standard ID numbers. Not all file formats use all ID's. Some information may be stored in other sections of the file.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static ImageResourceID |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
int |
hashCode() |
String |
name()
Returns the name of this enumeration value.
|
public static final ImageResourceID ResolutionInfo
ResolutionInfo structure. See Appendix A in Photoshop API Guide PDF document.
public static final ImageResourceID NamesOfAlphaChannels
Names of the alpha channels as a series of Pascal strings.
public static final ImageResourceID Caption
The caption as a Pascal string.
public static final ImageResourceID BorderInformation
Border information. Contains a fixed number (2 bytes real, 2 bytes fraction) for the border width, and 2 bytes for border units (1 = inches, 2 = cm, 3 = points, 4 = picas, 5 = columns).
public static final ImageResourceID BackgroundColor
Background color.
See more.
public static final ImageResourceID PrintFlags
Print flags. A series of one-byte boolean values (see Page Setup dialog): labels, crop marks, color bars, registration marks, negative, flip, interpolate, caption, print flags.
public static final ImageResourceID Grayscale
Grayscale and multichannel halftoning information.
public static final ImageResourceID ColorHalftoning
Color halftoning information.
public static final ImageResourceID DuotoneHalftoning
Duotone halftoning information.
public static final ImageResourceID GrayscaleFunction
Grayscale and multichannel transfer function.
public static final ImageResourceID ColorTransferFunctions
Color transfer functions.
public static final ImageResourceID DuotoneTransferFunctions
Duotone transfer functions.
public static final ImageResourceID DuotoneImageInformation
Duotone image information.
public static final ImageResourceID EPSOptions
EPS options.
public static final ImageResourceID QuickMaskInformation
Quick Mask information. 2 bytes containing Quick Mask channel ID; 1- byte boolean indicating whether the mask was initially empty.
public static final ImageResourceID LayerStateInformation
Layer state information. 2 bytes containing the index of target layer (0 = bottom layer).
public static final ImageResourceID WorkingPath
Working path (not saved). See See Path resource format.
public static final ImageResourceID LayersGroupInformation
Layers group information. 2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID.
public static final ImageResourceID Iptc
IPTC-NAA record. Contains the File Info... information. See the documentation in the IPTC folder of the Documentation folder.
public static final ImageResourceID ImageModeForRawFormat
Image mode for raw format files.
public static final ImageResourceID JpegQuality
JPEG quality. Private.
public static final ImageResourceID GridAndGuidesInfoPhotoshop4
Grid and guides information.
public static final ImageResourceID ThumbnailResourcePhotoshop4
Thumbnail resource for Photoshop 4.0 only.
public static final ImageResourceID CopyrightFlagPhotoshop4
Copyright flag. Boolean indicating whether image is copyrighted. Can be set via Property suite or by user in File Info...
public static final ImageResourceID UrlPhotoshop4
URL. Handle of a text string with uniform resource locator. Can be set via Property suite or by user in File Info...
public static final ImageResourceID ThumbnailResourcePhotoshop5
Thumbnail resource (supersedes resource 1033). See See Thumbnail resource format.
public static final ImageResourceID GlobalAnglePhotoshop5
Global Angle. 4 bytes that contain an integer between 0 and 359, which is the global lighting angle for effects layer. If not present, assumed to be 30.
public static final ImageResourceID IccProfilePhotoshop5
(Photoshop 5.0) ICC Profile. The raw bytes of an ICC (International Color Consortium) format profile. See ICC1v42_2006-05.pdf in the Documentation folder and icProfileHeader.h in Sample Code\Common\Includes.
public static final ImageResourceID WatermarkPhotoshop5
Watermark. One byte.
public static final ImageResourceID IccUntaggedProfilePhotoshop5
ICC Untagged Profile. 1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged.
public static final ImageResourceID TransparencyIndexPhotoshop6
Transparency Index. 2 bytes for the index of transparent color, if any.
public static final ImageResourceID GlobalAltitudePhotoshop6
Global Altitude. 4 byte entry for altitude.
public static final ImageResourceID SlicesPhotoshop6
Slices (Photoshop 6).
public static final ImageResourceID WorkflowUrlPhotoshop6
Workflow URL. Unicode string. Photoshop 6.
public static final ImageResourceID AlphaIdentifiersPhotoshop6
Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier.
public static final ImageResourceID UrlListPhotoshop6
URL InternalList. 4 byte count of URLs, followed by 4 byte long, 4 byte ID, and Unicode string for each count.
public static final ImageResourceID VersionInfoPhotoshop6
Version Info. 4 bytes version, 1 byte hasRealMergedData , Unicode string: writer name, Unicode string: reader name, 4 bytes file version.
public static final ImageResourceID ExifData1Photoshop7
EXIF data 1, see more
.
public static final ImageResourceID ExifData3Photoshop7
EXIF data 3.
public static final ImageResourceID XmpPhotoshop7
XMP metadata. File info as XML description, see more
.
public static final ImageResourceID CaptionDigestPhotoshop7
Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm.
public static final ImageResourceID PrintScalePhotoshop7
Print scale. 2 bytes style (0 = centered, 1 = size to fit, 2 = user defined). 4 bytes x location (floating point). 4 bytes y location (floating point). 4 bytes scale (floating point).
public static final ImageResourceID PixelAspectRatio
Pixel Aspect Ratio. 4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel. Version 2, attempting to correct values for NTSC and PAL, previously off by a factor of approx. 5%.
public static final ImageResourceID LayerComps
Layer Comps. 4 bytes (descriptor version = 16), Descriptor.
public static final ImageResourceID LayerSelectionIds
Layer Selection ID(s). 2 bytes count, following is repeated for each count: 4 bytes layer ID.
public static final ImageResourceID PrintInfoCS2
Print info (Photoshop CS2).
public static final ImageResourceID LayerGroupEnabledIdCS2
Layer Group(s) Enabled ID. 1 byte for each layer in the document, repeated by length of the resource. NOTE: Layer groups have start and end markers (Photoshop CS2).
public static final ImageResourceID ColorSamplersResourceCS3
Color samplers resource. Also see ID 1038 for old format.
public static final ImageResourceID MeasurementScaleCS3
Measurement Scale. 4 bytes (descriptor version = 16), Descriptor.
public static final ImageResourceID TimelineInformationCS3
Timeline Information. 4 bytes (descriptor version = 16), Descriptor.
public static final ImageResourceID SheetDisclosureCS3
Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor.
public static final ImageResourceID PrintInformationCS5
Print Information (Photoshop CS5).
public static final ImageResourceID PrintStyleCS5
Print Style (Photoshop CS5).
public static final ImageResourceID MacintoshNSPrintInfoCS5
Macintosh NSPrintInfo. Variable OS specific info for Macintosh. NSPrintInfo. It is recommended that you do not interpret or use this data. (Photoshop CS5).
public static final ImageResourceID WindowsDevmodeCS5
Windows DEVMODE. Variable OS specific info for Windows. DEVMODE. It is recommended that you do not interpret or use this data. (Photoshop CS5).
public static final ImageResourceID AutoSaveFilePathCS6
Auto Save File Path. Unicode string. (Photoshop CS6).
public static final ImageResourceID AutoSaveFormatCS6
Auto Save Format. Unicode string. (Photoshop CS6).
public static final ImageResourceID PathSelectionStateCC
Path Selection State. (Photoshop CC).
public static final ImageResourceID ImageReadyVariables
Image Ready variables. XML representation of variables definition.
public static final ImageResourceID ImageReadyDatasets
Image Ready data sets.
public static final ImageResourceID PrintFlagsInformation
Print flags information. 2 bytes version ( = 1), 1 byte center crop marks, 1 byte ( = 0), 4 bytes bleed width value, 2 bytes bleed width scale.
public static ImageResourceID getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue
public String name()
IEnumValue
Returns the name of this enumeration value.
name
in interface IEnumValue