<?php

namespace IZON\Thumber\ImageConverter;

use IZON\IO\Image;
use IZON\IO\RasterImageInterface;

/**
 * Factory for creating ImageConverter instances.
 *
 * @author Aleš Kopecký <kopecky@izon.cz>
 */
interface IImageConverterFactory {

    /**
     *
     * @param RasterImageInterface $image
     * @return IImageConverter
     */
    public function createImageConverter(RasterImageInterface $image) : IImageConverter;

}
