Class: MediaInfo::ImageStream

Inherits:
Stream
  • Object
show all
Defined in:
lib/media_info/streams/image.rb

Constant Summary collapse

TYPE =
:image

Instance Attribute Summary collapse

Attributes inherited from Stream

#_others, #codec, #codec_extensions, #codec_id, #codec_id_description, #codec_id_hint, #codec_id_info, #codec_id_string, #codec_id_url, #codec_string, #count, #first_packet_order, #format, #format_commercial, #format_commercial_if_any, #format_compression, #format_extensions, #format_info, #format_profile, #format_settings, #format_url, #format_version, #id, #id_string, #inform, #internet_media_type, #status, #stream_count, #stream_kind, #stream_kind_id, #stream_kind_pos, #stream_kind_string, #stream_order, #stream_size, #stream_size_proportion, #stream_size_string, #stream_size_string1, #stream_size_string2, #stream_size_string3, #stream_size_string4, #stream_size_string5, #unique_id, #unique_id_string

Method Summary

Methods inherited from Stream

#initialize, #raw_attributes

Constructor Details

This class inherits a constructor from MediaInfo::Stream

Instance Attribute Details

#bit_depthObject

Returns the value of attribute bit_depth.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def bit_depth
  @bit_depth
end

#bit_depth_stringObject (readonly)

Returns the value of attribute bit_depth_string.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def bit_depth_string
  @bit_depth_string
end

#chroma_subsamplingObject (readonly)

Returns the value of attribute chroma_subsampling.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def chroma_subsampling
  @chroma_subsampling
end

#color_spaceObject (readonly)

Returns the value of attribute color_space.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def color_space
  @color_space
end

#compression_modeObject (readonly)

Returns the value of attribute compression_mode.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def compression_mode
  @compression_mode
end

#compression_mode_stringObject (readonly)

Returns the value of attribute compression_mode_string.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def compression_mode_string
  @compression_mode_string
end

#heightObject

Returns the value of attribute height.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def height
  @height
end

#height_stringObject (readonly)

Returns the value of attribute height_string.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def height_string
  @height_string
end

#resolutionObject

Returns the value of attribute resolution.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def resolution
  @resolution
end

#resolution_stringObject (readonly)

Returns the value of attribute resolution_string.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def resolution_string
  @resolution_string
end

#widthObject

Returns the value of attribute width.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def width
  @width
end

#width_stringObject (readonly)

Returns the value of attribute width_string.



7
8
9
# File 'lib/media_info/streams/image.rb', line 7

def width_string
  @width_string
end