Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watermarking breaks JPG images (horizontal color bands) #23

Open
alentsch opened this issue Mar 16, 2018 · 3 comments
Open

Watermarking breaks JPG images (horizontal color bands) #23

alentsch opened this issue Mar 16, 2018 · 3 comments

Comments

@alentsch
Copy link

alentsch commented Mar 16, 2018

Hello!

I am trying to watermark my photos with openstego v0.7.2 under the Linux command-line. However about 80-90% of the JPG images show light to strong distortions such as horizontal color bands. Here is an example:

After watermarking:
https://www.flickr.com/photos/turbopunsch/40801625282/in/photostream/
https://c1.staticflickr.com/5/4777/40801625282_a9b662bfab_b.jpg

Before:
https://www.flickr.com/photos/turbopunsch/40801624302/in/photostream/
https://c1.staticflickr.com/5/4782/40801624302_8d704b0168_b.jpg

Only about 10% of my images are OK and have 100% signature strength. The other images show either visible image distortions or the signature strength is anywhere between 0% and 100%. I tried different images sizes and JPG compression ratios, but can not see any difference. Am I doing something wrong?

PS: I tried to increase the maximum memory allocation for Java with the option -Xmx2048m, but that does not make any difference.

@syvaidya
Copy link
Owner

@alentsch I tried the JPG, but I am not seeing any bands in the embedded image. The embedding strength is also 100%. I guess that Flickr would be doing some changes to the JPG and so I am not able to reproduce the issue. Would it be possible to attach the original images here?

@alentsch
Copy link
Author

@syvaidya thank you your reply. I attached both images now to this message - sorry I didn't know that attaching files was possible - much easier of course. When I check the watermark with the command $ java -Xmx1024m -jar /usr/share/openstego/lib/openstego.jar checkmark --sigfile=xxx.sig --stegofile=xxx.jpg I get a strength of 0.5 (50%) for the attached image. Where the image "turns into blue" (not in the original) there are also some boxes, which are not in the original image.

Thank you very much for your help again!

Image with watermark:
40801625282_a9b662bfab_b

Originial image:
40801624302_8d704b0168_b

@Eyremba
Copy link

Eyremba commented Jan 18, 2019

Was this fixed now?
Or does OpenStego still have this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants