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.



228
229
230
231
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 228

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.



228
229
230
231
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 228

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

#mime_type::String

Returns Encoding mime type for the image.

Returns:

  • (::String)

    Encoding mime type for the image.



228
229
230
231
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 228

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.



228
229
230
231
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 228

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