Skip to content

Commit 5ee3faf

Browse files
committed
Corrected argument name.
1 parent 25d1155 commit 5ee3faf

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

src/Magick.NET.Core/IMagickImage.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@ public partial interface IMagickImage : IMagickImageCreateOperations, IDisposabl
481481
/// <summary>
482482
/// Applies the color decision list from the specified ASC CDL file.
483483
/// </summary>
484-
/// <param name="fileName">The file to read the ASC CDL information from.</param>
484+
/// <param name="colorCorrectionCollection">The ASC CDL information.</param>
485485
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
486-
void ColorDecisionList(string fileName);
486+
void ColorDecisionList(string colorCorrectionCollection);
487487

488488
/// <summary>
489489
/// Compare current image with another image and returns error information.
@@ -878,7 +878,7 @@ public partial interface IMagickImage : IMagickImageCreateOperations, IDisposabl
878878
/// <summary>
879879
/// Determines the bit depth (bits allocated to red/green/blue components) of the specified channel.
880880
/// </summary>
881-
/// <param name="channels">The channel to get the depth for.</param>
881+
/// <param name="channels">The channels to get the depth for.</param>
882882
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
883883
/// <returns>The bit depth (bits allocated to red/green/blue components) of the specified channel.</returns>
884884
uint DetermineBitDepth(Channels channels);

src/Magick.NET/MagickImage.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,14 +1761,10 @@ public void ColorAlpha(IMagickColor<QuantumType> color)
17611761
/// <summary>
17621762
/// Applies the color decision list from the specified ASC CDL file.
17631763
/// </summary>
1764-
/// <param name="fileName">The file to read the ASC CDL information from.</param>
1764+
/// <param name="colorCorrectionCollection">The ASC CDL information.</param>
17651765
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
1766-
public void ColorDecisionList(string fileName)
1767-
{
1768-
var filePath = FileHelper.CheckForBaseDirectory(fileName);
1769-
1770-
_nativeInstance.ColorDecisionList(filePath);
1771-
}
1766+
public void ColorDecisionList(string colorCorrectionCollection)
1767+
=> _nativeInstance.ColorDecisionList(colorCorrectionCollection);
17721768

17731769
/// <summary>
17741770
/// Colorize image with the specified color, using specified percent alpha.
@@ -2561,7 +2557,7 @@ public uint DetermineBitDepth()
25612557
/// <summary>
25622558
/// Determines the bit depth (bits allocated to red/green/blue components) of the specified channel.
25632559
/// </summary>
2564-
/// <param name="channels">The channel to get the depth for.</param>
2560+
/// <param name="channels">The channels to get the depth for.</param>
25652561
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
25662562
/// <returns>The bit depth (bits allocated to red/green/blue components) of the specified channel.</returns>
25672563
public uint DetermineBitDepth(Channels channels)

0 commit comments

Comments
 (0)