Sha256: 88e04ef9bfa6a2991220d0089b8111be0620ce591cf25088d14fbd9cb5646c91
Contents?: true
Size: 373 Bytes
Versions: 22
Compression:
Stored size: 373 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)} #{options} png:#{Ddr::Utils.file_path(output)}" out, err, s = Open3.capture3(command) GeneratorResult.new(out, err, s) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems