Class: HexaPDF::Type::Image::Info

Inherits:
Struct
  • Object
show all
Defined in:
lib/hexapdf/type/image.rb

Overview

The structure that is returned by the Image#info method.

Instance Attribute Summary collapse

Instance Attribute Details

#bits_per_componentObject

Returns the value of attribute bits_per_component

Returns:

  • (Object)

    the current value of bits_per_component



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def bits_per_component
  @bits_per_component
end

#color_spaceObject

Returns the value of attribute color_space

Returns:

  • (Object)

    the current value of color_space



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def color_space
  @color_space
end

#componentsObject

Returns the value of attribute components

Returns:

  • (Object)

    the current value of components



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def components
  @components
end

#extensionObject

Returns the value of attribute extension

Returns:

  • (Object)

    the current value of extension



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def extension
  @extension
end

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def height
  @height
end

#indexedObject

Returns the value of attribute indexed

Returns:

  • (Object)

    the current value of indexed



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def indexed
  @indexed
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def type
  @type
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def width
  @width
end

#writableObject

Returns the value of attribute writable

Returns:

  • (Object)

    the current value of writable



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def writable
  @writable
end