Class ResizeOptions
Inheritance
System.Object
ResizeOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ResizeOptions : IResizeOptions
Constructors
ResizeOptions(IConfiguration, ISourceImageParamsReader, FileInfo, Size, String, IColorManagement, IRenderingColorSettings, Boolean, Boolean, ImageEffect, List<BaseImageEffect>, Boolean, Color, Nullable<BlendMode>, Nullable<Single>, Int32, Boolean, Color, Nullable<Single>, Nullable<Single>, Nullable<Dither>, Nullable<Single>)
Declaration
public ResizeOptions(IConfiguration configuration, ISourceImageParamsReader imageParamsReader, FileInfo sourceImageFile, Size size, string thumbnailId, IColorManagement colorManagement, IRenderingColorSettings colorSettings, bool isSquare = false, bool keepProportions = false, ImageEffect effect = ImageEffect.None, List<BaseImageEffect> effects = null, bool removeColorProfile = false, Color overlayColor = null, BlendMode? overlayBlendMode = null, float? overlayOpacity = null, int pageIndex = 0, bool alphaMask = false, Color colorizeColor = null, float? rectWidth = null, float? rectHeight = null, Dither? dither = null, float? ditherAmount = null)
Parameters
| Type |
Name |
Description |
| IConfiguration |
configuration |
|
| ISourceImageParamsReader |
imageParamsReader |
|
| System.IO.FileInfo |
sourceImageFile |
|
| System.Drawing.Size |
size |
|
| System.String |
thumbnailId |
|
| IColorManagement |
colorManagement |
|
| IRenderingColorSettings |
colorSettings |
|
| System.Boolean |
isSquare |
|
| System.Boolean |
keepProportions |
|
| ImageEffect |
effect |
|
| System.Collections.Generic.List<BaseImageEffect> |
effects |
|
| System.Boolean |
removeColorProfile |
|
| Aurigma.GraphicsMill.Color |
overlayColor |
|
| System.Nullable<BlendMode> |
overlayBlendMode |
|
| System.Nullable<System.Single> |
overlayOpacity |
|
| System.Int32 |
pageIndex |
|
| System.Boolean |
alphaMask |
|
| Aurigma.GraphicsMill.Color |
colorizeColor |
|
| System.Nullable<System.Single> |
rectWidth |
|
| System.Nullable<System.Single> |
rectHeight |
|
| System.Nullable<Dither> |
dither |
|
| System.Nullable<System.Single> |
ditherAmount |
|
Declaration
public ResizeOptions(IConfiguration configuration, IFileCache fileCache, ISourceImageParamsReader imageParamsReader, IFileCacheImageParamsReader fileCacheImageParamsReader, string sourceImageId, Size size, IColorManagement colorManagement, IRenderingColorSettings colorSettings, bool isSquare = false, bool keepProportions = false, ImageEffect effect = ImageEffect.None, List<BaseImageEffect> effects = null, bool removeColorProfile = false, Color overlayColor = null, BlendMode? overlayBlendMode = null, float? overlayOpacity = null, int pageIndex = 0, bool alphaMask = false, Color colorizeColor = null, string thumbnailId = null, FileFormat? targetFileFormat = null, bool allowUpscale = false, float? rectWidth = null, float? rectHeight = null, Dither? dither = null, float? ditherAmount = null)
Parameters
| Type |
Name |
Description |
| IConfiguration |
configuration |
|
| IFileCache |
fileCache |
|
| ISourceImageParamsReader |
imageParamsReader |
|
| IFileCacheImageParamsReader |
fileCacheImageParamsReader |
|
| System.String |
sourceImageId |
|
| System.Drawing.Size |
size |
|
| IColorManagement |
colorManagement |
|
| IRenderingColorSettings |
colorSettings |
|
| System.Boolean |
isSquare |
|
| System.Boolean |
keepProportions |
|
| ImageEffect |
effect |
|
| System.Collections.Generic.List<BaseImageEffect> |
effects |
|
| System.Boolean |
removeColorProfile |
|
| Aurigma.GraphicsMill.Color |
overlayColor |
|
| System.Nullable<BlendMode> |
overlayBlendMode |
|
| System.Nullable<System.Single> |
overlayOpacity |
|
| System.Int32 |
pageIndex |
|
| System.Boolean |
alphaMask |
|
| Aurigma.GraphicsMill.Color |
colorizeColor |
|
| System.String |
thumbnailId |
|
| System.Nullable<FileFormat> |
targetFileFormat |
|
| System.Boolean |
allowUpscale |
|
| System.Nullable<System.Single> |
rectWidth |
|
| System.Nullable<System.Single> |
rectHeight |
|
| System.Nullable<Dither> |
dither |
|
| System.Nullable<System.Single> |
ditherAmount |
|
Properties
AlphaMask
Declaration
public bool AlphaMask { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
ColorizeColor
Declaration
public Color ColorizeColor { get; }
Property Value
| Type |
Description |
| Aurigma.GraphicsMill.Color |
|
ColorSettings
Declaration
public IRenderingColorSettings ColorSettings { get; }
Property Value
DitheringAmount
Declaration
public float? DitheringAmount { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Single> |
|
DitheringType
Declaration
public Dither? DitheringType { get; }
Property Value
| Type |
Description |
| System.Nullable<Dither> |
|
Dpi
Declaration
public float Dpi { get; }
Property Value
| Type |
Description |
| System.Single |
|
Effect
Declaration
public ImageEffect Effect { get; }
Property Value
Effects
Declaration
public List<BaseImageEffect> Effects { get; }
Property Value
Declaration
public FileFormat FileFormat { get; }
Property Value
OverlayBlendMode
Declaration
public BlendMode? OverlayBlendMode { get; }
Property Value
OverlayColor
Declaration
public Color OverlayColor { get; }
Property Value
| Type |
Description |
| Aurigma.GraphicsMill.Color |
|
OverlayOpacity
Declaration
public float? OverlayOpacity { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Single> |
|
PageIndex
Declaration
public int PageIndex { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public PixelFormat PixelFormat { get; }
Property Value
RectHeight
Declaration
public float? RectHeight { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Single> |
|
RectWidth
Declaration
public float? RectWidth { get; }
Property Value
| Type |
Description |
| System.Nullable<System.Single> |
|
RemoveColorProfile
Declaration
public bool RemoveColorProfile { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
ResizeMode
Declaration
public ResizeMode ResizeMode { get; }
Property Value
| Type |
Description |
| Aurigma.GraphicsMill.Transforms.ResizeMode |
|
Size
Declaration
public Size Size { get; }
Property Value
| Type |
Description |
| System.Drawing.Size |
|
SourceImageId
Declaration
public string SourceImageId { get; }
Property Value
| Type |
Description |
| System.String |
|
ThumbnailId
Declaration
public string ThumbnailId { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
GenerateThumbnailId(IConfiguration, String)
Declaration
public string GenerateThumbnailId(IConfiguration conf, string thumbnailId = null)
Parameters
Returns
| Type |
Description |
| System.String |
|
Declaration
public FileFormat GetSourceImageFileFormat()
Returns
GetSourceImageFilePath()
Declaration
public string GetSourceImageFilePath()
Returns
| Type |
Description |
| System.String |
|
GetSourceImageReadStream()
Declaration
public Stream GetSourceImageReadStream()
Returns
| Type |
Description |
| System.IO.Stream |
|
Implements