public virtual Task ResizeAsync(IImageSource source, IImageDestination destination, ResizeOptions options, CancellationToken cancellationToken = default)
        {
            var queryString = CreateQueryString(options);

            return(InvokeResizeAsync(source, destination, queryString, Configuration.EndPoint, cancellationToken));
        }
Ejemplo n.º 2
0
 private static (bool IsExplicit, string ImageType) DecideImageType(ResizeOptions options, IImage image)
 => options.ImageType switch