public class JpegRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc
Represents the root package allowing working with metadata in a JPEG image.
Learn more
Modifier and Type | Method and Description |
---|---|
String[] |
detectBarcodeTypes()
Extracts the types of the barcodes presented in the image.
|
ExifPackage |
getExifPackage()
Gets the EXIF metadata package.
|
ImageResourcePackage |
getImageResourcePackage()
Gets the Photoshop Image Resource metadata package.
|
IptcRecordSet |
getIptcPackage()
Gets the IPTC metadata package.
|
MakerNotePackage |
getMakerNotePackage()
Gets the MakerNote metadata package.
|
XmpPacketWrapper |
getXmpPackage()
Gets the XMP metadata package.
|
void |
removeImageResourcePackage()
Removes Photoshop Image Resource metadata package.
|
int |
sanitize()
Removes writable metadata properties from the package.
|
void |
setExifPackage(ExifPackage value)
Sets the EXIF metadata package.
|
void |
setIptcPackage(IptcRecordSet value)
Sets the IPTC metadata package.
|
void |
setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
|
getImageType
getFileType
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final XmpPacketWrapper getXmpPackage()
Gets the XMP metadata package.
getXmpPackage
in interface IXmp
Learn more
public final void setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
setXmpPackage
in interface IXmp
value
- The XMP metadata package.
Learn more
public final ExifPackage getExifPackage()
Gets the EXIF metadata package.
getExifPackage
in interface IExif
Learn more
public final void setExifPackage(ExifPackage value)
Sets the EXIF metadata package.
setExifPackage
in interface IExif
value
- The EXIF metadata package.
Learn more
public final IptcRecordSet getIptcPackage()
Gets the IPTC metadata package.
getIptcPackage
in interface IIptc
Learn more
public final void setIptcPackage(IptcRecordSet value)
Sets the IPTC metadata package.
setIptcPackage
in interface IIptc
value
- The IPTC metadata package.
Learn more
public final ImageResourcePackage getImageResourcePackage()
Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format.
public final MakerNotePackage getMakerNotePackage()
Gets the MakerNote metadata package.
public final void removeImageResourcePackage()
Removes Photoshop Image Resource metadata package.
public final String[] detectBarcodeTypes()
Extracts the types of the barcodes presented in the image.
public int sanitize()
Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
sanitize
in class RootMetadataPackage