Verified Commit 612fbfc6 authored by nagayama15's avatar nagayama15

output extracted watermarks in hex format

parent 7dffbc98
......@@ -95,7 +95,7 @@ end
def extract(file, method)
out = Pathname(file).sub_ext(".txt")
output = IO.popen([PISN, "-m", method, file.to_s]).read
output = IO.popen([PISN, "-m", method, "--dump=hex", file.to_s]).read
File.write(out, output)
puts "extract #{file}, #{method}, #{out}"
......
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