Add photos
This commit is contained in:
@@ -12,3 +12,11 @@ raise("file '#{file}' does not exist") unless File.exist?(file)
|
||||
-pass file:secret.key \
|
||||
-iter 1000000
|
||||
)
|
||||
|
||||
output = %[{{<dither #{ File.basename(file) } "782x600" />}}]
|
||||
|
||||
IO.popen("pbcopy", "w") { |pb| pb.write(output) }
|
||||
|
||||
puts output
|
||||
|
||||
File.delete(file)
|
||||
|
||||
Reference in New Issue
Block a user