public final class ImageResourceBlock extends Object implements IMetadataProperty
Represents Photoshop Image Resource block.
<br></br>
Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF.
Image resources are used to store non-pixel data associated with images, such as pen tool paths.
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the resource data.
|
int |
getDataSize()
Gets the size of the data.
|
int |
getDefinedId()
Gets the defined identifier.
|
String |
getFormattedValue()
Gets the formatted value.
|
long |
getId()
Gets the unique identifier for the resource.
|
String |
getName()
Gets the property name.
|
String |
getPropertyName()
Gets the image resource block name.
|
String |
getSignature()
Gets the image resource block signature.
|
void |
setName(String value)
Sets the property name.
|
String |
toString()
Returns a
System.String that represents this instance. |
public final String getSignature()
Gets the image resource block signature.
public final long getId()
Gets the unique identifier for the resource.
public final int getDefinedId()
Gets the defined identifier.
public final String getName()
Gets the property name.
getName
in interface IMetadataProperty
public final void setName(String value)
Sets the property name.
setName
in interface IMetadataProperty
value
- The property name.public final String getPropertyName()
Gets the image resource block name.
public final int getDataSize()
Gets the size of the data.
public final byte[] getData()
Gets the resource data.
public final String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty