Back to Website
Show / Hide Table of Contents

Class ResizeOptions

Inheritance
System.Object
ResizeOptions
Implements
IResizeOptions
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()
Namespace: Aurigma.DesignAtoms.Canvas
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

ResizeOptions(IConfiguration, IFileCache, ISourceImageParamsReader, IFileCacheImageParamsReader, String, Size, IColorManagement, IRenderingColorSettings, Boolean, Boolean, ImageEffect, List<BaseImageEffect>, Boolean, Color, Nullable<BlendMode>, Nullable<Single>, Int32, Boolean, Color, String, Nullable<FileFormat>, Boolean, Nullable<Single>, Nullable<Single>, Nullable<Dither>, Nullable<Single>)

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
Type Description
IRenderingColorSettings

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
Type Description
ImageEffect

Effects

Declaration
public List<BaseImageEffect> Effects { get; }
Property Value
Type Description
System.Collections.Generic.List<BaseImageEffect>

FileFormat

Declaration
public FileFormat FileFormat { get; }
Property Value
Type Description
FileFormat

OverlayBlendMode

Declaration
public BlendMode? OverlayBlendMode { get; }
Property Value
Type Description
System.Nullable<BlendMode>

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

PixelFormat

Declaration
public PixelFormat PixelFormat { get; }
Property Value
Type Description
PixelFormat

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
Type Name Description
IConfiguration conf
System.String thumbnailId
Returns
Type Description
System.String

GetSourceImageFileFormat()

Declaration
public FileFormat GetSourceImageFileFormat()
Returns
Type Description
FileFormat

GetSourceImageFilePath()

Declaration
public string GetSourceImageFilePath()
Returns
Type Description
System.String

GetSourceImageReadStream()

Declaration
public Stream GetSourceImageReadStream()
Returns
Type Description
System.IO.Stream

Implements

IResizeOptions
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback