Hi,
Some of my clients apply watermarks to their photos, but our service requires the supply of photos *without* watermarks, and sometimes they have literally lost it.
We can always ask the client for the original watermark file that was used and the applied shading.
My question is, is it possible to reverse the process given the output picture and the original watermark?
I attach a typical watermarked example.
Many thanks,
Seb
Reversing watermark
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Reversing watermark
If you have the exact watermark image that was applied to the background image, then it can be used to remove the watermark. If you do not, then you can try inpainting solutions or some Imagemagick approximations. All 3 approaches are described at https://stackoverflow.com/questions/524 ... -from-jpeg
______________________
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620
If using Imagemagick 7, then see http://imagemagick.org/script/porting.php#cli
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
______________________
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620
If using Imagemagick 7, then see http://imagemagick.org/script/porting.php#cli
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Reversing watermark
If the watermark is known, and the process by which it is applied is known, and this is lossless (ie hasn't removed data), and isn't cryptographically secure (it usually isn't), then it can be reversed.
I show some examples at Watermarks.
As Fred says at his link, the watermark can always be painted out and the missing pixels "invented".
I show some examples at Watermarks.
As Fred says at his link, the watermark can always be painted out and the missing pixels "invented".
snibgo's IM pages: im.snibgo.com
Re: Reversing watermark
Thanks guys!
My clients have the original so we'll give it a go!
My clients have the original so we'll give it a go!