com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Interface IExif

  • All Superinterfaces:
    com.aspose.ms.System.IDisposable
    All Known Implementing Classes:
    JpegFormat, TiffFormat


    public interface IExif
    extends com.aspose.ms.System.IDisposable

    Defines base operations intended to work with EXIF metadata.


    Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) allows to store tags metadata in different image and audio formats.

    • Method Detail

      • getExifValues

        ExifInfo getExifValues()

        Gets the EXIF metadata package associated with the file.

        Returns:
        The EXIF metadata package associated with the file.
      • getExifInfo

        ExifInfo getExifInfo()

        Extracts the EXIF metadata package (if found).

        Returns:
        The ExifInfo if the file contains EXIF metadata; otherwise, null.
      • updateExifInfo

        boolean updateExifInfo(ExifInfo exifInfo)

        Updates EXIF metadata.

        Parameters:
        exifInfo - An EXIF metadata package.


        This feature is not available in trial mode.

        Returns:
        true if the EXIF package is successfully replaced; otherwise, false.
      • removeExifInfo

        boolean removeExifInfo()

        Removes the existing EXIF metadata package.

        Returns:
        true if the EXIF package is successfully removed; otherwise, false.


        This feature is not available in trial mode.

      • removeGpsLocation

        boolean removeGpsLocation()

        Removes GPS coordinates associated with the file.

        Returns:
        true if the GPS location is successfully removed; otherwise, false.


        This feature is not available in trial mode.

      • getGpsLocation

        GpsLocation getGpsLocation()

        Gets GPS coordinates where the photo was taken.

        Returns:
        The GpsLocation if the file contains appropriate metadata properties; otherwise, null.


        This feature is not available in trial mode.