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

    Represents base methods for reading/writing/deleting 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 ExifInfo. Provides access for all EXIF properties.

        Returns:
        The EXIF data. Null if EXIF data is not presented.
      • getExifInfo

        ExifInfo getExifInfo()

        Returns EXIF data. Returns null if EXIF metadata is not exist.

        Returns:
        ExifInfo if image contains EXIF data; otherwise null.
      • updateExifInfo

        boolean updateExifInfo(ExifInfo exifInfo)

        Updates EXIF data. If EXIF metadata is already exist then re-write it.

        Parameters:
        exifInfo - EXIF data.


        This feature is not available in trial mode.

        Returns:
        True if EXIF data has been updated; otherwise false.
      • removeExifInfo

        boolean removeExifInfo()

        Removes existing EXIF metadata. It returns false if EXIF data not found.

        Returns:
        true if EXIF data found and removed; otherwise false.


        This feature is not available in trial mode.

      • removeGpsLocation

        boolean removeGpsLocation()

        Removes GPS coordinates of the photo.

        Returns:
        True if location removed; otherwise false.


        This feature is not available in trial mode.

      • getGpsLocation

        GpsLocation getGpsLocation()

        Gets GPS coordinates where a photo was taken.

        Returns:
        GpsLocation if image contains GPS coordinates.


        This feature is not available in trial mode.