Class ExtractedImageMetadata


  • public class ExtractedImageMetadata
    extends java.lang.Object
    Metadata of an image extracted from a multipage image. Currently is provided only for PDFs and only if the metadata could be extracted. The data is provided as is and so may be incorrect. For example, in some cases we can successfully extract and decode image even if height and width specified in the metadata are incorrect.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtractedImageMetadata​(int height, int width)
      Constructs ExtractedImageMetadata with the given params.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight()
      Getter for height field.
      int getWidth()
      Getter for width field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtractedImageMetadata

        public ExtractedImageMetadata​(int height,
                                      int width)
        Constructs ExtractedImageMetadata with the given params.
        Parameters:
        height - Height of the image in pixels.
        width - Width of the image in pixels.
    • Method Detail

      • getHeight

        public int getHeight()
        Getter for height field. See constructor documentation for more information about the field.
        Returns:
        height
      • getWidth

        public int getWidth()
        Getter for width field. See constructor documentation for more information about the field.
        Returns:
        width