Skip to main content

ImageSharpImageProvider

Assembly: ServiceStack.ImageSharp.dll
View Source
Declaration
public class ImageSharpImageProvider : ImageProvider

Inherited Properties

Instance

View Source
Declaration
public static ImageProvider Instance { get; set; }

Methods

Resize(Stream, Int32, Int32)

View Source
Declaration
public override Stream Resize(Stream stream, int newWidth, int newHeight)
Returns

Stream

Parameters
TypeName
Streamstream
System.Int32newWidth
System.Int32newHeight

Inherited Methods

Resize(Stream, Int32, Int32)

View Source
Declaration
public abstract Stream Resize(Stream stream, int newWidth, int newHeight)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.Streamstream
System.Int32newWidth
System.Int32newHeight

Resize(Stream, String)

View Source
Declaration
public virtual Stream Resize(Stream origStream, string savePhotoSize = null)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamorigStream
System.StringsavePhotoSize