Class ImageTransform
An abstract ImageTransform class.
Inheritance
System.Object
ImageTransform
Namespace: DotNetNuke.Services.GeneratedImage
Assembly: DotNetNuke.dll
Syntax
public abstract class ImageTransform : object
Properties
| Improve this Doc View SourceCompositingQuality
Gets or sets the compositing quality used for resizing images. The default is
Declaration
public CompositingQuality CompositingQuality { get; set; }
Property Value
| Type | Description |
|---|---|
| CompositingQuality |
InterpolationMode
Gets or sets the interpolation mode used for resizing images. The default is
Declaration
public InterpolationMode InterpolationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| InterpolationMode |
PixelOffsetMode
Gets or sets the pixel offset mode used for resizing images. The default is
Declaration
public PixelOffsetMode PixelOffsetMode { get; set; }
Property Value
| Type | Description |
|---|---|
| PixelOffsetMode |
SmoothingMode
Gets or sets the smoothing mode used for resizing images. The default is
Declaration
public SmoothingMode SmoothingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SmoothingMode |
UniqueString
Gets provides an Unique String for the image transformation.
Declaration
public virtual string UniqueString { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceCopyImage(Stream)
Creates a new image from stream. The created image is independent of the stream.
Declaration
public virtual Bitmap CopyImage(Stream imgStream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | imgStream |
Returns
| Type | Description |
|---|---|
| Bitmap | Image object. |
ProcessImage(Image)
Process an input image applying the image transformation.
Declaration
public abstract Image ProcessImage(Image image)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | Input image. |
Returns
| Type | Description |
|---|---|
| Image | Image processed. |