Interface Document.Page.ImageOrBuilder (2.58.0)

public static interface Document.Page.ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

Raw byte content of the image.

bytes content = 1;

Returns
Type Description
ByteString

The content.

getHeight()

public abstract int getHeight()

Height of the image in pixels.

int32 height = 4;

Returns
Type Description
int

The height.

getMimeType()

public abstract String getMimeType()

Encoding media type (MIME type) for the image.

string mime_type = 2;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Encoding media type (MIME type) for the image.

string mime_type = 2;

Returns
Type Description
ByteString

The bytes for mimeType.

getWidth()

public abstract int getWidth()

Width of the image in pixels.

int32 width = 3;

Returns
Type Description
int

The width.