@ -62,22 +62,9 @@ namespace SixLabors.ImageSharp.Processing.Processors
/// <param name="source">the source image.</param>
/// <param name="source">the source image.</param>
public void Apply ( ImageFrame < TPixel > source )
public void Apply ( ImageFrame < TPixel > source )
{
{
try
this . BeforeFrameApply ( source ) ;
{
this . OnFrameApply ( source ) ;
this . BeforeFrameApply ( source ) ;
this . AfterFrameApply ( source ) ;
this . OnFrameApply ( source ) ;
this . AfterFrameApply ( source ) ;
}
#if DEBUG
catch ( Exception )
{
throw ;
#else
catch ( Exception ex )
{
throw new ImageProcessingException ( $"An error occurred when processing the image using {this.GetType().Name}. See the inner exception for more detail." , ex ) ;
#endif
}
}
}
/// <inheritdoc/>
/// <inheritdoc/>