Author |
Topic |
|
LikeMike
Spain
13 Posts |
Posted - Apr 27 2023 : 12:47:26
|
Hello! Is there a way to merge a mask (watermark) to a picture and later load the picture and decrypt it with the mask into the original state? The reason is, that the picture should be useless for someone who opens the picture file directly but in my application the picture should be displayed in original state.
Thanks in advance Mike |
|
xequte
38611 Posts |
Posted - Apr 30 2023 : 22:19:01
|
Hi Mike
Sorry, I might be misunderstanding your requirements here, but if you have a IEN or PSD format image with multiple layers, you can encrypt/decrypt all of its layers on save/load. Is that you mean?
Nigel Xequte Software www.imageen.com
|
|
|
LikeMike
Spain
13 Posts |
Posted - May 01 2023 : 08:34:58
|
Hello Nigel! I want to encrypt files, so that they can't be copied. The ImageEnView encrypt and decrypt-function works good, but I want, that the user can see the picture when he opens it directly from the image file (opening encrypted files shows only murmur of pixels). So I thought, that the best way to do this, is to merge the file with a watermark file. But in my software I need the picture without watermark. So maybe the right question would be: how can I unmerge a merged file?
Regards Mike |
|
|
xequte
38611 Posts |
Posted - May 01 2023 : 19:13:05
|
Hi Mike
If you have added a watermark into an image and saved the image, then there is not a process to unmerge it.
If you added the watermark in a standard way, such as outputting a line of text at 50% opacity, then you could reverse that effect, e.g. by removing the opacity in this case. But any type of process that you can reverse, another person could reverse too.
Essentially anything that can be displayed onscreen can be taken.
Nigel Xequte Software www.imageen.com
|
|
|
LikeMike
Spain
13 Posts |
Posted - May 02 2023 : 12:03:18
|
Yes, but in my example the other person doesn't have the watermark file. |
|
|
xequte
38611 Posts |
Posted - May 02 2023 : 16:31:12
|
OK, well then you could do it. You would have a second image that modifies the image in a predictable way, and then when you merge you would use the second image to remove the effect. There is not a method to do this in ImageEn (assuming you avoid anything really easy to override, such as transparency), so you would do it by iterating over the image scanlines (the second image determines the effect to apply to each pixel, such as changing one or more of the color values.
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|
|
|