84648488
Chunk
reverted.
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
__author__ = 'chunk'
import os, sys
from subprocess import Popen, PIPE, STDOUT
from common import *
timer = Timer()
timer.mark()
os.environ["CLASSPATH"] = "../libs/F5/"
cmd = 'java Embed %s %s -e ../res/toembed -p password -c "stegan by chunk "'
p = Popen(cmd % ('../res/lopez.jpg', '../res/lopez-embed.jpg'), shell=True, stdout=PIPE, stderr=STDOUT)
list_ipdesc = [line.strip('\n') for line in p.stdout.readlines()]
# print list_ipdesc
timer.report()
|