Skip to content

Commit

Permalink
Added missing culture info argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 13, 2019
1 parent ba607f7 commit 6967384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Magick.NET/Shared/MagickImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6544,7 +6544,7 @@ public void Trim()
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
public void Trim(Percentage percentBackground)
{
SetArtifact("trim:percent-background", percentBackground.ToInt32().ToString());
SetArtifact("trim:percent-background", percentBackground.ToInt32().ToString(CultureInfo.InvariantCulture));
Trim();
RemoveArtifact("trim:percent-background");
}
Expand Down

0 comments on commit 6967384

Please sign in to comment.