Module: Thwomp

Defined in:
lib/thwomp.rb,
lib/thwomp/command.rb,
lib/thwomp/version.rb,
lib/thwomp/renderer.rb,
lib/thwomp/thumbnail.rb,
lib/thwomp/downloader.rb,
lib/thwomp/color_counter.rb,
lib/thwomp/renderers/swf.rb,
lib/thwomp/renderers/ffmpeg.rb,
lib/thwomp/renderers/helper.rb,
lib/thwomp/thumbnail_picker.rb,
lib/thwomp/animation_preview.rb

Defined Under Namespace

Modules: Renderers Classes: AnimationPreview, ColorCounter, Command, Downloader, Renderer, Thumbnail, ThumbnailPicker

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.ffmpeg_pathObject

Returns the value of attribute ffmpeg_path.



17
18
19
# File 'lib/thwomp.rb', line 17

def ffmpeg_path
  @ffmpeg_path
end

.gnash_pathObject

Returns the value of attribute gnash_path.



17
18
19
# File 'lib/thwomp.rb', line 17

def gnash_path
  @gnash_path
end

Class Method Details

.pick(url) ⇒ Object



19
20
21
22
# File 'lib/thwomp.rb', line 19

def pick(url)
  renderer = Renderer.new(url)
  ThumbnailPicker.pick(renderer.frames.reverse)
end