-
Notifications
You must be signed in to change notification settings - Fork 151
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
CLI decode doesn't work if output image is JPG #11
Comments
Same here but this works:
|
The problem seems to come from the default jpeg subsampling used by OpenCV. I was able to solve the problem by disabling subsampling. The resulting file was about 2.5 times bigger than the original file. By decreasing JPEG quality to 90% (default: 95) and activating jpeg optimize, I was able to reduce the filesize to ~1.5 times the original file.
Further information: |
I'm trying to use as CLI and python script to generate a wmrked JPG but watermark decode doesn't show anything:
It's like there is no watermark impressed in it, unless I use a PNG as output.
I posted the images I'm using for test purpouses.
raw img


wm img
The text was updated successfully, but these errors were encountered: