Class: Apparat::Reducer
- Inherits:
-
Sprout::Executable::Base
- Object
- Sprout::Executable::Base
- Apparat::Reducer
- Defined in:
- lib/apparat/reducer.rb
Instance Method Summary collapse
-
#deblocking ⇒ Object
The strength of the Flash Players internal deblocking filter.
-
#executable ⇒ Object
The default executable target.
-
#input ⇒ Object
The source file to reduce.
-
#output ⇒ Object
The reduced file.
-
#quality ⇒ Object
JPEG compression level.
Instance Method Details
#deblocking ⇒ Object
The strength of the Flash Players internal deblocking filter
23 |
# File 'lib/apparat/reducer.rb', line 23 add_param :deblocking, String, { :shell_name => '-d', :delimiter => ' ' } |
#executable ⇒ Object
The default executable target
28 |
# File 'lib/apparat/reducer.rb', line 28 set :executable, :reducer |
#input ⇒ Object
The source file to reduce
8 |
# File 'lib/apparat/reducer.rb', line 8 add_param :input, File, { :required => true, :shell_name => '-i', :delimiter => ' ' } |
#output ⇒ Object
The reduced file
13 |
# File 'lib/apparat/reducer.rb', line 13 add_param :output, String, { :shell_name => '-o', :delimiter => ' ' } |
#quality ⇒ Object
JPEG compression level. “1.0” is maximum quality, “0.0” is minimum quality.
18 |
# File 'lib/apparat/reducer.rb', line 18 add_param :quality, String, { :shell_name => '-q', :default => '1.0', :delimiter => ' ' } |