michkaravolos / f5-steganography

Automatically exported from code.google.com/p/f5-steganography
Other
0 stars 0 forks source link

Embedded file content are getting lost when its embedded with default quality i.e. 80 #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. embed file with -q 80.
2. extract the file from the jpg
3. some of the contents at the end of file is lost.

What is the expected output? What do you see instead?
Full file supposed to be extracted with default quality.

What version of the product are you using? On what operating system?
Windows. Version is not marked in f5.jar.

Please provide any additional information below.
Embed the file test.txt in out1.jpg through command
java -jar f5.jar e -e test.txt -q 80 use.jpg out1.jpg

Extract the embed file using command
java -jar f5.jar x -e test.txt out1.jpg

Message received after running the jar file:
Huffman decoding starts
Permutation starts
2545920 indices shuffled
Extraction starts
Length of embedded file: 22601 bytes
Default code used
Incomplete file: only 22058 of 22601 bytes extracted

Original issue reported on code.google.com by abhishek...@gmail.com on 22 May 2013 at 11:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi there,
 I am no official developer, but I guess your source image does simply not offer enough space to hide the file completely.
 You can't hide files with an arbitrary size in images. So your solution could be another source file or using multiple images. The latter is not a feature of f5.jar, therefore you'd have to split your file manually.

 If you can't solve the problem, I suggest you should attach your files. How should anyone be able to reproduce the problem if you do not give us these files?

Marc M.

Original comment by MarcMilt...@gmail.com on 7 Oct 2013 at 6:57