<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace IZON\Thumber\ImageResizer;

use IZON\Thumber\Image\IImageSize;

/**
 *
 * @author lukas
 */
interface IImageResizerStrategy {

    /**
     * 
     * @param IImageSize $imageSize
     * @param IImageSize $containerSize
     * @return IImageSize
     */
    public static function getSize(IImageSize $imageSize, IImageSize $containerSize, bool $upsize = false): IImageSize;
}

