Page 1 of 1

Batch convert - Watermark - rework Size parameters

Posted: Mon Sep 25, 2023 4:42 pm
by user0
XnViewMP 1.5.5 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Batch convert - watermark
Size group can be improved

Suggestion
batch_convert_watermark.png

A
  • Size
    - rework Sizing options
    • Proportional
      ▢ Relative to target [width / height]
      ▢ Repeat (or Tile)

      Proportional 100% = same as Normal (original size of watermark)
      Proportional 100% + Repeat (Tile) = same as Repeat image
      Proportional x% + Relative to target (width) = same as Percentage (width) x%
    • Fit
      to auto-fit watermark if target image is smaller
    • Fill
      its better to use 'Fill' with 'Fit' term
  • Position
    - add group frame
    - rename Position to Anchor
    - rename Delta to Offset
    - (optional) single line or stacked controls ?
    there is not enough consistency in X/Y controls (offset/delta/margin) positioning across actions, eg in Vignetting they are in single line
  • Other
    - simplify naming: 'Image filename' > 'Image' to save screen space
    - move Opacity and Alpha settings to the bottom
    as it looks better when stretched controls (path field and framed group) are not separated by short ones
    - (optional) rework 'Don't use alpha channel' into 'Use alpha channel' [checked by default]
    its easier to understand positive statements, but I guess its used as param in some console variant (eg -noalpha) so not a big deal here
B
  • Size
    - not sure if term "Proportional" is the best one to describe original (at100%) and relative (any% when checkbox checked) sizes
  • Margin
    - add Margin
  • Rotation
    - add watermark Rotation
C
  • Size
    - add Normal size in px/%, but not sure if size in pixels required at all
  • Tiling
    - add Horizontal/Vertical tiling with Spacing options



Examples
  • uMark
    watermark_uMark.png
  • lightroom
    watermark_lr.png
  • acdsee
    watermark_acdsee.png





Related

Re: Batch convert - Watermark - rework Size parameters

Posted: Tue Sep 26, 2023 12:29 pm
by xnview
See issue for current status and some details.

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Sep 28, 2023 6:56 pm
by user0
160b
160b_watermark.png
160b_watermark.png (3.87 KiB) Viewed 3323 times
good catch:
- options in Relative to target image combobox (Largest/Smallest, Width/Height)

problems of your realization:
1. its not possible to set watermark size precisely, as it always depends on target
2. its not possible to set watermark size AND apply repeat
3. Fit does not work as expected - it shall shrink watermark (keeping aspect ratio) until it is fully visible inside target image
if you add watermark that is larger than target image, Fit option will not shrink watermark

there are no such issues in my approach :D

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Sep 28, 2023 7:15 pm
by cday
Coming in part way through, what is the function when Repeat is active?

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Sep 28, 2023 7:22 pm
by user0
cday wrote: Thu Sep 28, 2023 7:15 pm Coming in part way through, what is the function when Repeat is active?
tile

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Sep 28, 2023 7:40 pm
by cday
Do you have a link to the thread where Repeat was requested, the desired action is not evident to me?

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Sep 28, 2023 7:52 pm
by user0
Repeat was there already, it is not a new function.
I, myself, would like to have ability to resize watermark and apply repeat.

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Sep 28, 2023 8:16 pm
by cday
user0 wrote: Thu Sep 28, 2023 7:52 pm Repeat was there already, it is not a new function.
I, myself, would like to have ability to resize watermark and apply repeat.
OK, but what does it mean, what is the use case, the watermark image is, for some reason not evident to me, to be repeated on each source image??

Re: Batch convert - Watermark - rework Size parameters

Posted: Sat Sep 30, 2023 11:48 am
by user0
cday wrote: Thu Sep 28, 2023 8:16 pm
user0 wrote: Thu Sep 28, 2023 7:52 pm Repeat was there already, it is not a new function.
I, myself, would like to have ability to resize watermark and apply repeat.
OK, but what does it mean, what is the use case, the watermark image is, for some reason not evident to me, to be repeated on each source image??
"Tiling" is the better name for this functionality.
I have updated post, so you can see how it works, eg uMark have two-directional tiling option with spacing and few more useful settings.

Re: Batch convert - Watermark - rework Size parameters

Posted: Sat Sep 30, 2023 12:06 pm
by cday
Thanks, do I understand that each image loaded will be output with the specified watermark applied multiple times, in a tile arrangement that covers depending on the settings used part or all of the image?

Re: Batch convert - Watermark - rework Size parameters

Posted: Sat Sep 30, 2023 12:08 pm
by user0
correct :D

Re: Batch convert - Watermark - rework Size parameters

Posted: Sat Sep 30, 2023 12:25 pm
by cday
@Pierre: user0's latest post above on the thread when I requested clarification of the need for the above watermark tile option was this one... :wink:

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Oct 05, 2023 10:26 am
by cday
In the above suggested menu:

160b_watermark.png
160b_watermark.png (3.87 KiB) Viewed 3089 times

I found the meaning of Repeat uncertain for a watermark, although the use case has now been clarified, might in the context of a watermark Multiple possibly be clearer?

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Oct 05, 2023 10:33 am
by user0
'Tile' or 'Tiling' is the standard term for this functionality

Re: Batch convert - Watermark - rework Size parameters

Posted: Thu Oct 12, 2023 1:12 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.6.0. Please check and confirm the bug fix here.