using System.Drawing;
using System.Web.Mvc;
using MrCMS.Models;

namespace MrCMS.Services
{
    public interface IImageRenderingService
    {
        MvcHtmlString RenderImage(HtmlHelper helper, string imageUrl, Size targetSize = default(Size),
            string alt = null, string title = null, object attributes = null);

        string GetImageUrl(string imageUrl, Size targetSize);
        ImageInfo GetImageInfo(string imageUrl, Size targetSize);
    }
}