RestImageResize/Transformations/ImageTransformation2.cs
/// <summary>
/// A connection point to create "Applying" filter
/// </summary>
/// <param name="context"></param>
/// <param name="image"></param>
A connection point to create "Applying" filter
A connection point to create " Applying " filter
protected virtual void Applying(TransformationContext context, IImage image)
        {
            if (context.TargetWidth == 0)
            {
                context.TargetWidth = image.Width;
            }
            if (context.TargetHeight == 0)
            {
                context.TargetHeight = image.Height;
            }
        }
protected virtual void Applying ( TransformationContext context , IImage image ) { if ( context . TargetWidth == 0 ) { context . TargetWidth = image . Width ; } if ( context . TargetHeight == 0 ) { context . TargetHeight = image . Height ; } }
A connection point to create "Applying" filter
A connection point to create " Applying " filter
context
TransformationContext
None
image
IImage
None