JpegRootPackage
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage, com.groupdocs.metadata.core.ImageRootPackage
All Implemented Interfaces: com.groupdocs.metadata.core.IXmp, com.groupdocs.metadata.core.IExif, com.groupdocs.metadata.core.IIptc
public class JpegRootPackage extends ImageRootPackage implements IXmp, IExif, IIptc
Represents the root package allowing working with metadata in a JPEG image.
Learn more
- Working with metadata in JPEG images
- Working with EXIF metadata
- Working with XMP metadata
- Working with IPTC IIM metadata
| Method | Description |
|---|---|
| getXmpPackage() | Gets the XMP metadata package. |
| setXmpPackage(XmpPacketWrapper value) | Sets the XMP metadata package. |
| getExifPackage() | Gets the EXIF metadata package. |
| setExifPackage(ExifPackage value) | Sets the EXIF metadata package. |
| getIptcPackage() | Gets the IPTC metadata package. |
| setIptcPackage(IptcRecordSet value) | Sets the IPTC metadata package. |
| getImageResourcePackage() | Gets the Photoshop Image Resource metadata package. |
| getMakerNotePackage() | Gets the MakerNote metadata package. |
| removeImageResourcePackage() | Removes Photoshop Image Resource metadata package. |
| detectBarcodeTypes() | Extracts the types of the barcodes presented in the image. |
| sanitize() | Removes writable metadata properties from the package. |
public final XmpPacketWrapper getXmpPackage()
Gets the XMP metadata package.
Returns: XmpPacketWrapper - The XMP metadata package.
Learn more
public final void setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | XmpPacketWrapper | The XMP metadata package. |
Learn more
Working with XMP metadata: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata |
public final ExifPackage getExifPackage()
Gets the EXIF metadata package.
Returns: ExifPackage - The EXIF metadata package.
Learn more
public final void setExifPackage(ExifPackage value)
Sets the EXIF metadata package.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | ExifPackage | The EXIF metadata package. |
Learn more
Working with EXIF metadata: https://docs.groupdocs.com/display/metadatajava/Working+with+EXIF+metadata |
public final IptcRecordSet getIptcPackage()
Gets the IPTC metadata package.
Returns: IptcRecordSet - The IPTC metadata package.
Learn more
public final void setIptcPackage(IptcRecordSet value)
Sets the IPTC metadata package.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | IptcRecordSet | The IPTC metadata package. |
Learn more
Working with IPTC IIM metadata: https://docs.groupdocs.com/display/metadatajava/Working+with+IPTC+IIM+metadata |
public final ImageResourcePackage getImageResourcePackage()
Gets the Photoshop Image Resource metadata package. Image resource blocks are the basic building unit of Photoshop native file format.
Returns: ImageResourcePackage - The Image Resource metadata package.
public final MakerNotePackage getMakerNotePackage()
Gets the MakerNote metadata package.
Returns: MakerNotePackage - 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.
Returns: java.lang.String[] - An array of barcode types.
public int sanitize()
Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
Returns: int - The number of affected properties.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.