Class: Google::Cloud::DocumentAI::V1::Document::Page::Image

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1/document.rb

Overview

Rendered image contents for this page.

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

Returns Raw byte content of the image.

Returns:

  • (::String)

    Raw byte content of the image.



257
258
259
260
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 257

class Image
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#height::Integer

Returns Height of the image in pixels.

Returns:

  • (::Integer)

    Height of the image in pixels.



257
258
259
260
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 257

class Image
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

Returns Encoding media type (MIME type) for the image.

Returns:



257
258
259
260
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 257

class Image
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#width::Integer

Returns Width of the image in pixels.

Returns:

  • (::Integer)

    Width of the image in pixels.



257
258
259
260
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 257

class Image
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end