Sha256: 294491d6270bd941369f5f57d1b5f3d21a819f2283ffb7652a1644c440315873
Contents?: true
Size: 332 Bytes
Versions: 27
Compression:
Stored size: 332 Bytes
Contents
module Ddr module Derivatives class PngGenerator < Generator def self.output_mime_type "image/png" end def generate command = "convert #{Ddr::Utils.file_path(source)}[0] #{options} png:#{Ddr::Utils.file_path(output)}" `#{command}` $?.exitstatus end end end end
Version data entries
27 entries across 27 versions & 1 rubygems