Source code for abstract_api.image_processing.strategies.landscape
from ._mixins import WidthMixin
from .base_strategy import BaseStrategy
[docs]
class Landscape(WidthMixin, BaseStrategy):
"""Resize to exact width.
Height will be adjusted according to aspect ratio.
"""