• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ImageTransform

An abstract ImageTransform class.

Inheritance
System.Object
ImageTransform
ImageBrightnessTransform
ImageContrastTransform
ImageGammaTransform
ImageGreyScaleTransform
ImageInvertTransform
ImageResizeTransform
ImageRotateFlipTransform
ImageFileTransform
PlaceholderTransform
SecureFileTransform
UserProfilePicTransform
Namespace: DotNetNuke.Services.GeneratedImage
Assembly: DotNetNuke.dll
Syntax
public abstract class ImageTransform : object

Properties

| Improve this Doc View Source

CompositingQuality

Gets or sets the compositing quality used for resizing images. The default is .

Declaration
public CompositingQuality CompositingQuality { get; set; }
Property Value
Type Description
CompositingQuality
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

CopyImage(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.

| Improve this Doc View Source

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.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS