Batch convert - Watermark - rework Size parameters

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Batch convert - Watermark - rework Size parameters

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by user0 on Sat Sep 30, 2023 4:02 pm, edited 6 times in total.
User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch convert - Watermark - rework Size parameters

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Re: Batch convert - Watermark - rework Size parameters

Post by user0 »

160b
160b_watermark.png
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
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 3942
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch convert - Watermark - rework Size parameters

Post by cday »

Coming in part way through, what is the function when Repeat is active?
User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Re: Batch convert - Watermark - rework Size parameters

Post 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
cday
XnThusiast
Posts: 3942
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch convert - Watermark - rework Size parameters

Post by cday »

Do you have a link to the thread where Repeat was requested, the desired action is not evident to me?
User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Re: Batch convert - Watermark - rework Size parameters

Post 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.
cday
XnThusiast
Posts: 3942
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch convert - Watermark - rework Size parameters

Post 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??
User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Re: Batch convert - Watermark - rework Size parameters

Post 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.
cday
XnThusiast
Posts: 3942
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch convert - Watermark - rework Size parameters

Post 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?
User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Re: Batch convert - Watermark - rework Size parameters

Post by user0 »

correct :D
cday
XnThusiast
Posts: 3942
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch convert - Watermark - rework Size parameters

Post 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:
cday
XnThusiast
Posts: 3942
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch convert - Watermark - rework Size parameters

Post by cday »

In the above suggested menu:

160b_watermark.png

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?
You do not have the required permissions to view the files attached to this post.
User avatar
user0
XnThusiast
Posts: 1373
Joined: Sat May 09, 2015 9:37 am

Re: Batch convert - Watermark - rework Size parameters

Post by user0 »

'Tile' or 'Tiling' is the standard term for this functionality
User avatar
xnview
Author of XnView
Posts: 43098
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Batch convert - Watermark - rework Size parameters

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.6.0. Please check and confirm the bug fix here.
Pierre.