diff --git a/docs/ReadingImages.md b/docs/ReadingImages.md index 89950f9b21..b34ccee477 100644 --- a/docs/ReadingImages.md +++ b/docs/ReadingImages.md @@ -66,7 +66,7 @@ using var imagesFromFile = new MagickImageCollection(SampleFiles.SnakewareJpg); // Read from stream using var memStream = LoadMemoryStreamImage(); -using var imagesromStream = new MagickImageCollection(memStream); +using var imagesFromStream = new MagickImageCollection(memStream); // Read from byte array var data = LoadImageBytes(); diff --git a/samples/Magick.NET.Samples/ReadImages.cs b/samples/Magick.NET.Samples/ReadImages.cs index 43919c8ee7..b14f2772a1 100644 --- a/samples/Magick.NET.Samples/ReadImages.cs +++ b/samples/Magick.NET.Samples/ReadImages.cs @@ -78,7 +78,7 @@ public static void ReadImageWithMultipleFrames() // Read from stream using var memStream = LoadMemoryStreamImage(); - using var imagesromStream = new MagickImageCollection(memStream); + using var imagesFromStream = new MagickImageCollection(memStream); // Read from byte array var data = LoadImageBytes();