class ImageParadise::ToGif
Public Class Methods
Public Instance Methods
input?()
click to toggle source
reset()
click to toggle source
run()
click to toggle source
run_everything()
click to toggle source
#¶ ↑
run_everything
¶ ↑
This method contains the main logic of the file.
#¶ ↑
# File lib/image_paradise/utility_scripts/to_gif.rb, line 54 def run_everything opn; e 'Next converting '+simp(input?)+' to '+sfile(store_where?) _ = 'convert '+input?+' '+store_where? esystem _ if File.exist? store_where? opn; e 'We will next try to optimize '+sfile(store_where?) opn; e 'The old file size is: '+sfancy(File.size(store_where?).to_s) ImageParadise::Optimizer[store_where?] opn; e 'The new file size is: '+sfancy(File.size(store_where?).to_s) end end
set_input(i = '')
click to toggle source