meta: add coordinate based anchor examples to sample config
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I56bcc8488e3d973cc9ff99d26f991aa06a6a6964
This commit is contained in:
parent
dadba853e8
commit
dab6b3b0ae
1 changed files with 14 additions and 0 deletions
|
|
@ -43,6 +43,14 @@ scale_mode = fill
|
|||
# trilinear - Trilinear filtering (smoothest)
|
||||
filter_quality = linear
|
||||
|
||||
# Default anchor position (0-100 for both x and y)
|
||||
# anchor_x: 0=left, 50=center, 100=right
|
||||
# anchor_y: 0=top, 50=center, 100=bottom
|
||||
# Can use named anchors: center, top, bottom, left, right, top-left, etc.
|
||||
anchor = center
|
||||
anchor_x = 50
|
||||
anchor_y = 50
|
||||
|
||||
# Image downsampling settings for performance optimization
|
||||
# ===================================================
|
||||
# Enable automatic downsampling of large images to save memory and improve performance
|
||||
|
|
@ -111,4 +119,10 @@ min_scale_factor = 0.25 # Don't scale below 25% of original size
|
|||
# output.eDP-1.scale = fill
|
||||
# output.eDP-1.anchor = bottom-right
|
||||
# output.eDP-1.filter = trilinear
|
||||
#
|
||||
# Custom anchor coordinates (anchor_x, anchor_y override anchor):
|
||||
# output.ULTRAWIDE = ~/Pictures/ultrawide.jpg
|
||||
# output.ULTRAWIDE.scale = fill
|
||||
# output.ULTRAWIDE.anchor_x = 25 # 25% from left edge
|
||||
# output.ULTRAWIDE.anchor_y = 10 # 10% from top edge
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue