Skip to content

Commit 318c2c4

Browse files
committed
Corrected channels for the Fx methods.
1 parent 315db72 commit 318c2c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Magick.NET/MagickImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ public void Frame(uint width, uint height, int innerBevel, int outerBevel)
28592859
/// <param name="expression">The expression to apply.</param>
28602860
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
28612861
public void Fx(string expression)
2862-
=> Fx(expression, ImageMagick.Channels.Undefined);
2862+
=> Fx(expression, ImageMagick.Channels.All);
28632863

28642864
/// <summary>
28652865
/// Applies a mathematical expression to the image.

src/Magick.NET/MagickImageCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ public IMagickImage<QuantumType> Flatten(IMagickColor<QuantumType> backgroundCol
558558
/// <returns>The resulting image of the fx operation.</returns>
559559
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
560560
public IMagickImage<QuantumType> Fx(string expression)
561-
=> Fx(expression, Channels.Undefined);
561+
=> Fx(expression, Channels.All);
562562

563563
/// <summary>
564564
/// Applies a mathematical expression to the images and returns the result.

0 commit comments

Comments
 (0)