Watermark dialog: Spacing has wrong effect
Moderators: XnTriq, helmut, xnview
Watermark dialog: Spacing has wrong effect
When adding a watermark graphic, the spacing should be the spacing between the image's border and the watermark logo.
When setting position "Top-Left", horizontal spacing = 10, and vertical spacing = 10, the spacing is correct. When changing the position to "Bottom-Right" while keeping the spacing values results in a wrong spacing.
Positive values for spacing should always mean the same, i.e. that the watermark logo has a spacing towards the inner of "parent" image.
Negative values should be either forbidden (and not possible to enter), or it should mean that the watermark logo has a spacing towards the outer side.
When setting position "Top-Left", horizontal spacing = 10, and vertical spacing = 10, the spacing is correct. When changing the position to "Bottom-Right" while keeping the spacing values results in a wrong spacing.
Positive values for spacing should always mean the same, i.e. that the watermark logo has a spacing towards the inner of "parent" image.
Negative values should be either forbidden (and not possible to enter), or it should mean that the watermark logo has a spacing towards the outer side.
Re: Watermark dialog: Spacing has wrong effect
It's the reason of negative value. If it's spacing between image's border & watermark logo, you can't add only a portion of the logo...
Pierre.
Re: Watermark dialog: Spacing has wrong effect
O.k.. As written above, values should always mean the same, i.e. positive values => spacing towards the inner of the image. Negative values => spacing towards the outer of the image. Currently the spacing is interpreted depending on the position of the image.xnview wrote:It's the reason of negative value. If it's spacing between image's border & watermark logo, you can't add only a portion of the logo...
Re: Watermark dialog: Spacing has wrong effect
So for center position, how is used spacing???helmut wrote:O.k.. As written above, values should always mean the same, i.e. positive values => spacing towards the inner of the image. Negative values => spacing towards the outer of the image. Currently the spacing is interpreted depending on the position of the image.xnview wrote:It's the reason of negative value. If it's spacing between image's border & watermark logo, you can't add only a portion of the logo...
Pierre.
Re: Watermark dialog: Spacing has wrong effect
Spacing is a mixture of real spacing and position.xnview wrote:So for center position, how is used spacing???
For horizontal center position, positive horizontal values should move to the right and negative values to the left.
For vertical center position, positive vertical values should move towards top, negative values towards bottom (matching with standard [mouse] coordinates).
Does this sound consistent and reasonable?
Re: Watermark dialog: Spacing has wrong effect
So strange for me.helmut wrote:Spacing is a mixture of real spacing and position.xnview wrote:So for center position, how is used spacing???
For horizontal center position, positive horizontal values should move to the right and negative values to the left.
top-left=>move to the right
top-center=>move to the right
top-right=>move to the left
Pierre.
Thank you, John, for your opinion. At first (and when programming) it sounds complicated, but I think it's handy:JohnFredC wrote:I agree with Helmut.
The main advantage is that you can change position from left to right while keeping the same spacing (and no manual adjustement from positive value to negative value).
Once this is implemented and provided as a test version we can try and see whether it's good or not.
In my opinion, current "Spacing" should be imagined as sor of "Position tune", that moves the watermark from its main location (top-left, etc...) to the direction on images coordinates, which starts from top-left corner (0,0).
It should NOT be changed to way that on top left increasing the spacing value moves the watermark to right and bottom and on bottom-right increasing the value would move the watermark to opposite direction... And how you could think with the "center"-option then?
So, the "Spacing" is the same as "Position tune", or something related that.
Some bugs: (?)
-Negative values does not have any effect below 0; effective values with the spacing are only 0 and above (in 1.92 beta2)
-Selecting "Auto View" places a watermark to image, which is correct, but unselecting "Auto View" does not have effect; Watermark still applies in preview.
It should NOT be changed to way that on top left increasing the spacing value moves the watermark to right and bottom and on bottom-right increasing the value would move the watermark to opposite direction... And how you could think with the "center"-option then?
So, the "Spacing" is the same as "Position tune", or something related that.
Some bugs: (?)
-Negative values does not have any effect below 0; effective values with the spacing are only 0 and above (in 1.92 beta2)
-Selecting "Auto View" places a watermark to image, which is correct, but unselecting "Auto View" does not have effect; Watermark still applies in preview.
Tested with XnView v1.92 beta 4:
Is fixed.Markus wrote:
Some bugs: (?)
-Negative values does not have any effect below 0; effective values with the spacing are only 0 and above (in 1.92 beta2)
Still exists, not fixed.Markus wrote: -Selecting "Auto View" places a watermark to image, which is correct, but unselecting "Auto View" does not have effect; Watermark still applies in preview.