1. GroupDocs.Metadata
  2. /
  3. GroupDocs.Metadata for Java
  4. /
  5. com.groupdocs.metadata.core
  6. /
  7. ImageTypePackage

ImageTypePackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage

public class ImageTypePackage extends FileTypePackage

Represents a metadata package containing image-specific file format information.

Methods

Method Description
getWidth() Gets the image width.
getHeight() Gets the image height.
getByteOrder() Gets the byte-order of the image.

getWidth()

public final int getWidth()

Gets the image width.

Returns: int - The image width.

getHeight()

public final int getHeight()

Gets the image height.

Returns: int - The image height.

getByteOrder()

public final ByteOrder getByteOrder()

Gets the byte-order of the image. Please see https://en.wikipedia.org/wiki/Endianness for more information.

Returns: ByteOrder - The byte-order value.