Skip to main content

ImageProvider

Assembly: ServiceStack.dll
View Source
Declaration
public abstract class ImageProvider

Properties

Instance

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

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