Class ExtractedImageMetadata
java.lang.Object
io.scanbot.sdk.multipageimageextractor.ExtractedImageMetadata
The metadata is taken from the PDF stream's dictionary, not from the image header inside the stream.
In a well-formed PDF file, the image metadata encoded in the stream dictionary should be the same as the one encoded in the image header.
This, however, is neither required nor checked and may not be true for an ill-formed PDF.
-
Constructor Summary
ConstructorsConstructorDescriptionExtractedImageMetadata(int height, int width) Constructs ExtractedImageMetadata with the given params. -
Method Summary
-
Constructor Details
-
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 Details
-
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
-