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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/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.



253
254
255
256
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 253

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.



253
254
255
256
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 253

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:



253
254
255
256
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 253

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.



253
254
255
256
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 253

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