lib/snapshot/screenshot_flatten.rb in snapshot-0.8.0 vs lib/snapshot/screenshot_flatten.rb in snapshot-0.9.0

- old
+ new

@@ -7,10 +7,10 @@ flatten(path) end def flatten(path) Dir.glob([path, '/**/*.png'].join('/')).each do |file| - Helper.log.info "Removing alpha channel from '#{file}'" + Helper.log.info "Removing alpha channel from '#{file}'" if $verbose `sips -s format bmp '#{file}' &> /dev/null ` # &> /dev/null because there is warning because of the extension `sips -s format png '#{file}'` end Helper.log.info "Finished removing the alpha channel." end \ No newline at end of file