Advertisement
Guest User

wavfiles

a guest
Dec 12th, 2014
1,384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. dd skip=47 count=79773 if=original/the_message.wav of=message_image_encoded.png bs=1
  2. Write this into script.py:
  3. import sys
  4. data = sys.stdin.read()
  5. for i in range(0, len(data)):
  6. if (i % 2) == 0:
  7. sys.stdout.write(data[i])
  8. sys.stdout.flush()
  9. Then run "cat message_image_encoded.png | python script.py > image_decoded.png"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement