Source code for abstract_api.image_processing.strategies.fit.fit
from .._mixins import CropModeMixin, HeightMixin, WidthMixin
from ..base_strategy import BaseStrategy
[docs]
class Fit(HeightMixin, WidthMixin, CropModeMixin, BaseStrategy):
"""Crop and resize the image to fit the desired width and height."""