Skip to content

Commit

Permalink
Added new StrImg format.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 21, 2022
1 parent 3f8f678 commit 2be4e0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/Magick.NET.Core/Enums/MagickFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,11 @@ public enum MagickFormat
/// </summary>
Stegano,

/// <summary>
/// String to image and back.
/// </summary>
StrImg,

/// <summary>
/// SUN Rasterfile.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ public void ShouldContainTheCorrectNumberOfFormats()
var formatsCount = MagickNET.SupportedFormats.Count();

if (OperatingSystem.IsWindows)
Assert.Equal(264, formatsCount);
Assert.Equal(265, formatsCount);
else if (OperatingSystem.IsLinux)
Assert.Equal(261, formatsCount);
Assert.Equal(262, formatsCount);
else
Assert.Equal(260, formatsCount);
Assert.Equal(261, formatsCount);
}
}
}
Expand Down

0 comments on commit 2be4e0b

Please sign in to comment.