Verified Commit 9b0c740a authored by nagayama15's avatar nagayama15

remove `-d` flag from embedding process

parent e44b5370
...@@ -81,7 +81,7 @@ def copy(file, out) ...@@ -81,7 +81,7 @@ def copy(file, out)
end end
def embed(file, out, method, watermark, chunk_size = 20) def embed(file, out, method, watermark, chunk_size = 20)
output = IO.popen([SNPI, "-o", out.to_s, "-m", method, "-w", watermark, "-c", chunk_size.to_s, "-d", file.to_s]).read output = IO.popen([SNPI, "-o", out.to_s, "-m", method, "-w", watermark, "-c", chunk_size.to_s, file.to_s]).read
puts "embed #{file}, #{out}, #{method}, #{watermark}, #{output}" puts "embed #{file}, #{out}, #{method}, #{watermark}, #{output}"
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment