com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class ImageResourceID

  • All Implemented Interfaces:
    IEnumValue


    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.

    • Field Detail

      • ResolutionInfo

        public static final ImageResourceID ResolutionInfo

        ResolutionInfo structure. See Appendix A in Photoshop API Guide PDF document.

      • NamesOfAlphaChannels

        public static final ImageResourceID NamesOfAlphaChannels

        Names of the alpha channels as a series of Pascal strings.

      • Caption

        public static final ImageResourceID Caption

        The caption as a Pascal string.

      • BorderInformation

        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).

      • BackgroundColor

        public static final ImageResourceID BackgroundColor

        Background color. See more.

      • PrintFlags

        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.

      • Grayscale

        public static final ImageResourceID Grayscale

        Grayscale and multichannel halftoning information.

      • ColorHalftoning

        public static final ImageResourceID ColorHalftoning

        Color halftoning information.

      • DuotoneHalftoning

        public static final ImageResourceID DuotoneHalftoning

        Duotone halftoning information.

      • GrayscaleFunction

        public static final ImageResourceID GrayscaleFunction

        Grayscale and multichannel transfer function.

      • ColorTransferFunctions

        public static final ImageResourceID ColorTransferFunctions

        Color transfer functions.

      • DuotoneTransferFunctions

        public static final ImageResourceID DuotoneTransferFunctions

        Duotone transfer functions.

      • DuotoneImageInformation

        public static final ImageResourceID DuotoneImageInformation

        Duotone image information.

      • QuickMaskInformation

        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.

      • LayerStateInformation

        public static final ImageResourceID LayerStateInformation

        Layer state information. 2 bytes containing the index of target layer (0 = bottom layer).

      • WorkingPath

        public static final ImageResourceID WorkingPath

        Working path (not saved). See See Path resource format.

      • LayersGroupInformation

        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.

      • Iptc

        public static final ImageResourceID Iptc

        IPTC-NAA record. Contains the File Info... information. See the documentation in the IPTC folder of the Documentation folder.

      • ImageModeForRawFormat

        public static final ImageResourceID ImageModeForRawFormat

        Image mode for raw format files.

      • JpegQuality

        public static final ImageResourceID JpegQuality

        JPEG quality. Private.

      • GridAndGuidesInfoPhotoshop4

        public static final ImageResourceID GridAndGuidesInfoPhotoshop4

        Grid and guides information.

      • ThumbnailResourcePhotoshop4

        public static final ImageResourceID ThumbnailResourcePhotoshop4

        Thumbnail resource for Photoshop 4.0 only.

      • CopyrightFlagPhotoshop4

        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...

      • UrlPhotoshop4

        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...

      • ThumbnailResourcePhotoshop5

        public static final ImageResourceID ThumbnailResourcePhotoshop5

        Thumbnail resource (supersedes resource 1033). See See Thumbnail resource format.

      • GlobalAnglePhotoshop5

        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.

      • IccProfilePhotoshop5

        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.

      • WatermarkPhotoshop5

        public static final ImageResourceID WatermarkPhotoshop5

        Watermark. One byte.

      • IccUntaggedProfilePhotoshop5

        public static final ImageResourceID IccUntaggedProfilePhotoshop5

        ICC Untagged Profile. 1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged.

      • TransparencyIndexPhotoshop6

        public static final ImageResourceID TransparencyIndexPhotoshop6

        Transparency Index. 2 bytes for the index of transparent color, if any.

      • GlobalAltitudePhotoshop6

        public static final ImageResourceID GlobalAltitudePhotoshop6

        Global Altitude. 4 byte entry for altitude.

      • SlicesPhotoshop6

        public static final ImageResourceID SlicesPhotoshop6

        Slices (Photoshop 6).

      • WorkflowUrlPhotoshop6

        public static final ImageResourceID WorkflowUrlPhotoshop6

        Workflow URL. Unicode string. Photoshop 6.

      • AlphaIdentifiersPhotoshop6

        public static final ImageResourceID AlphaIdentifiersPhotoshop6

        Alpha Identifiers. 4 bytes of length, followed by 4 bytes each for every alpha identifier.

      • UrlListPhotoshop6

        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.

      • VersionInfoPhotoshop6

        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.

      • ExifData1Photoshop7

        public static final ImageResourceID ExifData1Photoshop7

        EXIF data 1, see more.

      • ExifData3Photoshop7

        public static final ImageResourceID ExifData3Photoshop7

        EXIF data 3.

      • XmpPhotoshop7

        public static final ImageResourceID XmpPhotoshop7

        XMP metadata. File info as XML description, see more.

      • CaptionDigestPhotoshop7

        public static final ImageResourceID CaptionDigestPhotoshop7

        Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm.

      • PrintScalePhotoshop7

        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).

      • PixelAspectRatio

        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%.

      • LayerComps

        public static final ImageResourceID LayerComps

        Layer Comps. 4 bytes (descriptor version = 16), Descriptor.

      • LayerSelectionIds

        public static final ImageResourceID LayerSelectionIds

        Layer Selection ID(s). 2 bytes count, following is repeated for each count: 4 bytes layer ID.

      • PrintInfoCS2

        public static final ImageResourceID PrintInfoCS2

        Print info (Photoshop CS2).

      • LayerGroupEnabledIdCS2

        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).

      • ColorSamplersResourceCS3

        public static final ImageResourceID ColorSamplersResourceCS3

        Color samplers resource. Also see ID 1038 for old format.

      • MeasurementScaleCS3

        public static final ImageResourceID MeasurementScaleCS3

        Measurement Scale. 4 bytes (descriptor version = 16), Descriptor.

      • TimelineInformationCS3

        public static final ImageResourceID TimelineInformationCS3

        Timeline Information. 4 bytes (descriptor version = 16), Descriptor.

      • SheetDisclosureCS3

        public static final ImageResourceID SheetDisclosureCS3

        Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor.

      • PrintInformationCS5

        public static final ImageResourceID PrintInformationCS5

        Print Information (Photoshop CS5).

      • PrintStyleCS5

        public static final ImageResourceID PrintStyleCS5

        Print Style (Photoshop CS5).

      • MacintoshNSPrintInfoCS5

        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).

      • WindowsDevmodeCS5

        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).

      • AutoSaveFilePathCS6

        public static final ImageResourceID AutoSaveFilePathCS6

        Auto Save File Path. Unicode string. (Photoshop CS6).

      • AutoSaveFormatCS6

        public static final ImageResourceID AutoSaveFormatCS6

        Auto Save Format. Unicode string. (Photoshop CS6).

      • PathSelectionStateCC

        public static final ImageResourceID PathSelectionStateCC

        Path Selection State. (Photoshop CC).

      • ImageReadyVariables

        public static final ImageResourceID ImageReadyVariables

        Image Ready variables. XML representation of variables definition.

      • ImageReadyDatasets

        public static final ImageResourceID ImageReadyDatasets

        Image Ready data sets.

      • PrintFlagsInformation

        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.

    • Method Detail

      • getByRawValue

        public static ImageResourceID getByRawValue(int rawValue)
      • getAllValues

        public Object[] getAllValues()
        Description copied from interface: IEnumValue

        Returns the array of all values defined in the class.

        Specified by:
        getAllValues in interface IEnumValue
        Returns:
        The array of all values defined in the class.
      • getEnumValueByRawValue

        public IEnumValue getEnumValueByRawValue(int rawValue)
        Description copied from interface: IEnumValue

        Returns the enumeration value by the raw value associated with it.

        Specified by:
        getEnumValueByRawValue in interface IEnumValue
        Parameters:
        rawValue - The raw value.
        Returns:
        The enumeration value.
      • getEnumValueByName

        public IEnumValue getEnumValueByName(String name)
        Description copied from interface: IEnumValue

        Returns the enumeration value by its name.

        Specified by:
        getEnumValueByName in interface IEnumValue
        Parameters:
        name - The name of the enumeration value.
        Returns:
        The enumeration value.
      • getRawValueType

        public RawIntegerType getRawValueType()
        Description copied from interface: IEnumValue

        Returns the underlying type of the raw value of this enumeration value.

        Specified by:
        getRawValueType in interface IEnumValue
        Returns:
        The underlying type of the raw value.
      • getRawValue

        public int getRawValue()
        Description copied from interface: IEnumValue

        Returns the raw value of this enumeration value.

        Specified by:
        getRawValue in interface IEnumValue
        Returns:
        The raw value.
      • name

        public String name()
        Description copied from interface: IEnumValue

        Returns the name of this enumeration value.

        Specified by:
        name in interface IEnumValue
        Returns:
        The name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object