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

Change jpeg output file quality (currently set to default = 75) #10

Closed bellavi closed 7 years ago

bellavi commented 7 years ago

Is there a way to change jpeg quality setting?

I tried to update the const QUALITY in DCT.java (from 75 to 95) and regenerate the .jar using build.xml, but when I use "Digital Watermarking" the output file sizes are still the same (very little size compared to my original files encoded with quality=95).

It would be nice to be able to configure the wanted jped output files quality, from OpenStego user interface.

syvaidya commented 7 years ago

Fixed with v0.7.1

There is no GUI as of now to control JPEG compression. Steps to do it: