Crabgrass::Media is the Media engine of Crabgrass.
Crabgrass is a web application designed for activist groups to be better able to collaborate online. Mostly, it is a glorified wiki with fine-grain control over access rights.
Crabgrass::Media is a rails engine to do media transformations.
You can add new media transformations by subclassing Transmogrifier.
Example usage:
transmog = Media.transmogrifier(:input_file => 'myfile.odt', :output_file => 'myfile.jpg')
status = transmog.run do |progress|
puts progress
end
Requirements:
Strongly suggested:
gem install mime-types
Crabgrass and Crabgrass::Media are based on Ruby on Rails and MySQL. They are released under the AGPL license, version 3.