syvaidya / openstego

OpenStego is a steganography application that provides two functionalities: a) Data Hiding: It can hide any data within an image file. b) Watermarking: Watermarking image files with an invisible signature. It can be used to detect unauthorized file copying.
https://www.openstego.com
GNU General Public License v2.0
1.15k stars 212 forks source link

javax.imageio.IIOException: Missing Huffman code table entry #12

Closed ctrlmaniac closed 6 years ago

ctrlmaniac commented 7 years ago

When I try to embed a watermark from a jpeg image it will work if I don't specify the file extension but it will output the original image to bmp. If I try to save the image into a jpeg file it will throw an error:

javax.imageio.IIOException: Missing Huffman code table entry

See screenshot

syvaidya commented 7 years ago

Can you confirm:

syvaidya commented 7 years ago

Closing as no response for 2 months.

rjoz commented 6 years ago

I just installed OpenStego on macos 10.13.3 (Java 9.0.4) and have the exact same issue. Valid JPEG file, output file extension jpg

syvaidya commented 6 years ago

@rjoz Can you attach the source image here?

syvaidya commented 6 years ago

Fixed. Next release would include the same.

syvaidya commented 6 years ago

I have release v0.7.3 now. It should have this fix.

rjoz commented 6 years ago

I had to increase memory allocation, but it works now, thanks! :-)