Hi,
I would like to batch process by adding a background to a bunch of images with transparent background.
Is there a way to reverse the water stamp so that the water stamp ends up behind the images?
Or is there another way of solving this process?
Best regards
Mattias
Reversed water stamp
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 4185
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Reversed water stamp
Isn't that the normal watermark process, where the image with transparency is at the front?
I don't understand, then the watermark image with transparency would be entirely hidden by the other image, wouldn't it?Is there a way to reverse the water stamp so that the water stamp ends up behind the images?
If necessary, could you could upload two example images and describe the result you need?
Maybe...Or is there another way of solving this process?
-
- Posts: 8
- Joined: Thu Dec 12, 2019 10:36 am
Re: Reversed water stamp
I will try to explain my problem better;)
If I have rendered different versions of a chair with different colors etc and with transparent background.
Can I then use xnconvert to put in the same background to all of them?
M
If I have rendered different versions of a chair with different colors etc and with transparent background.
Can I then use xnconvert to put in the same background to all of them?
M
-
- XnThusiast
- Posts: 4185
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Reversed water stamp
I see the problem, in effect the watermark image changes for each required output image, so the normal XnConvert watermark batch conversion couldn't be used. You could only process one image at a time...
Possibly there might be a workaround, but I don't immediately see one, and I don't have the time at the moment to try to think of one. An interesting challenge, though!
One possible solution, not easy unless you have good command line experience, might be to use NConvert in a script that changes the watermark file for each copy of the background file.
Otherwise, you probably need to use a software that supports layers and also batch processing if you have many images to process.
Edit:
Suppose you remove the transparency in the images -- convert to 24-bit for example -- that would give a background colour, I'm not sure which colour or whether it could be selected??
Edit:
Looking at the 'Change colour depth' action it looks as if you might be able to select any desired colour as background if you reduce from 32-bit to 24-bit depth...
-
- Posts: 8
- Joined: Thu Dec 12, 2019 10:36 am
Re: Reversed water stamp
Hmm,
I have tried to mask out the chair by rendering a alpha channel and then use the mask action but with no good result.
It should be great and easy to just have an option if the watermark shall be in the foreground or background.
Working with script have I no experience of unfortunately.
Well, I love XnConvert but this is really a function that I really miss:(
I have tried to mask out the chair by rendering a alpha channel and then use the mask action but with no good result.
It should be great and easy to just have an option if the watermark shall be in the foreground or background.
Working with script have I no experience of unfortunately.
Well, I love XnConvert but this is really a function that I really miss:(
-
- XnThusiast
- Posts: 4185
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Reversed water stamp
I'm still slightly confused, you want the chair to be visible against a coloured background?
Are you able to upload an example chair image (or other example image) and indicate the background you want?
Are you able to upload an example chair image (or other example image) and indicate the background you want?
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Reversed water stamp
I believe MWI is looking for a way to create background on bottom layer or to place a watermark under the image.
Related (kinda):
Related (kinda):
-
- Posts: 8
- Joined: Thu Dec 12, 2019 10:36 am
Re: Reversed water stamp
Thanks XnTriq
That is exactly what I'm after:)
I need to apply different watermark images to the same background image.
I will read your links and see If there is something for me. Otherwise I guess I need to make masks in Gimp.
Hoverer that is not a preferred process as I need to do this from time and then processing thousand of images:(
That is exactly what I'm after:)
I need to apply different watermark images to the same background image.
I will read your links and see If there is something for me. Otherwise I guess I need to make masks in Gimp.
Hoverer that is not a preferred process as I need to do this from time and then processing thousand of images:(
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
-
- Posts: 8
- Joined: Thu Dec 12, 2019 10:36 am
Re: Reversed water stamp
Thanks XnTriq:)
Yes, It would be great function in a great software.
I hope for the best and work with my masks in the meantime:(
Yes, It would be great function in a great software.
I hope for the best and work with my masks in the meantime:(
-
- XnThusiast
- Posts: 4185
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Reversed water stamp
I have some difficulty with the terminology used here, although there is evidently some need for a seemingly novel function:
A 'watermark' as the term is normally used has transparency, and is placed in front of another image; in batch processing the same watermark image is placed in front of multiple images.
The request is to be able to place an image behind another image: that image will only be visible if the front image has transparency, so describing the image placed behind as a watermark seems inappropriate. And in batch processing the need is to place the same background image behind multiple foreground images that have transparency, the opposite of the usual watermarking function.
The new action might be better termed 'Place background behind image' or something similar, otherwise it is likely to cause confusion. It will be understood that the foreground image must normally have transparency, otherwise the function would have no obvious use.
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Reversed water stamp
Yes, a dedicated action for merging/blending would even be better.cday wrote: ↑Thu Dec 12, 2019 8:22 pmThe new action might be better termed 'Place background behind image' or something similar, otherwise it is likely to cause confusion. It will be understood that the foreground image must normally have transparency, otherwise the function would have no obvious use.
-
- Posts: 8
- Joined: Thu Dec 12, 2019 10:36 am
Re: Reversed water stamp
Hi,
Long time but still a highly wanted function for me:)
Is there any plans for a function like " "Place background behind image"
Will soon start doing 1 million renders for a web configurator and are planing the process.
Using this function could rely speed up the time for us building the pics library:)
M
Long time but still a highly wanted function for me:)
Is there any plans for a function like " "Place background behind image"
Will soon start doing 1 million renders for a web configurator and are planing the process.
Using this function could rely speed up the time for us building the pics library:)
M