Sha256: 038c0e97f17afa8510091ad31f95ecb4fe20e79e6c632839303fb25f9ee9b82e

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

module Documentalist
  module NetPBM
    include Documentalist::Dependencies

    depends_on_binaries! "ppmtojpeg" => "install netpbm package"

    def self.convert(file, options)
      system "ppmtojpeg #{file} > #{options[:to]}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
documentalist-0.1.4 lib/backends/net_pbm.rb
documentalist-0.1.3 lib/backends/net_pbm.rb
documentalist-0.1.2 lib/backends/net_pbm.rb