Class: Batik::Transcoders::JPEG

Inherits:
Abstract
  • Object
show all
Defined in:
lib/ruby-batik/transcoders/jpeg.rb

Class Method Summary collapse

Methods inherited from Abstract

transcode

Class Method Details

.default_optionsObject



11
12
13
# File 'lib/ruby-batik/transcoders/jpeg.rb', line 11

def self.default_options
  super.merge({:quality => 0.8})
end

.java_typesObject



7
8
9
# File 'lib/ruby-batik/transcoders/jpeg.rb', line 7

def self.java_types
  super.merge({:quality => Float})
end

.klassObject



5
# File 'lib/ruby-batik/transcoders/jpeg.rb', line 5

def self.klass; JPEGTranscoder; end