public class JpegRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc
Represents the root package allowing working with metadata in a JPEG image.
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.
|
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
addProperties, findProperties, getFileType, removeProperties, setProperties, updateProperties
contains, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, iterator
public final XmpPacketWrapper getXmpPackage()
Gets the XMP metadata package.
getXmpPackage
in interface IXmp
public final void setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
setXmpPackage
in interface IXmp
value
- The XMP metadata package.public final ExifPackage getExifPackage()
Gets the EXIF metadata package.
getExifPackage
in interface IExif
public final void setExifPackage(ExifPackage value)
Sets the EXIF metadata package.
setExifPackage
in interface IExif
value
- The EXIF metadata package.public final IptcRecordSet getIptcPackage()
Gets the IPTC metadata package.
getIptcPackage
in interface IIptc
public final void setIptcPackage(IptcRecordSet value)
Sets the IPTC metadata package.
setIptcPackage
in interface IIptc
value
- The IPTC metadata package.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 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
Copyright © 2020. All rights reserved.