Image Processing Config

Einen Bildabschnitt in der config.toml mit Standard-Bildverarbeitungsoptionen konfigurieren, geht so:

# Default resample filter used for resizing. Default is Box, 
# a simple and fast averaging filter appropriate for downscaling.
# See
resampleFilter = "box"

# Default JPEG quality setting. Default is 75.
quality = 75

# Anchor used when cropping pictures.
# Default is "smart" which does Smart Cropping, using 
# Smart Cropping is content aware and tries to find the best crop for each
# image.
# Valid values are Smart, Center, TopLeft, Top, TopRight, Left, Right, 
# BottomLeft, Bottom, BottomRight
anchor = "smart"

Alle oben genannten Einstellungen k├Ânnen auch pro Bildverarbeitung vorgenommen werden.

image processing

Photo by Bernard Hermant on Unsplash