Skip to content

Commit 730089e

Browse files
committed
Corrected order.
1 parent 7a5974f commit 730089e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Magick.NET/MagickImageCollection.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -370,18 +370,6 @@ public IMagickImage<QuantumType> AppendVertically()
370370
return MagickImage.Create(image, GetSettings());
371371
}
372372

373-
/// <summary>
374-
/// Merge a sequence of images. This is useful for GIF animation sequences that have page
375-
/// offsets and disposal methods.
376-
/// </summary>
377-
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
378-
public void Coalesce()
379-
{
380-
using var imageAttacher = new TemporaryImageAttacher(_images);
381-
var images = _nativeInstance.Coalesce(_images[0]);
382-
ReplaceImages(images);
383-
}
384-
385373
/// <summary>
386374
/// Removes all images from the collection.
387375
/// </summary>
@@ -409,6 +397,18 @@ public IMagickImageCollection<QuantumType> Clone()
409397
return result;
410398
}
411399

400+
/// <summary>
401+
/// Merge a sequence of images. This is useful for GIF animation sequences that have page
402+
/// offsets and disposal methods.
403+
/// </summary>
404+
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
405+
public void Coalesce()
406+
{
407+
using var imageAttacher = new TemporaryImageAttacher(_images);
408+
var images = _nativeInstance.Coalesce(_images[0]);
409+
ReplaceImages(images);
410+
}
411+
412412
/// <summary>
413413
/// Combines the images into a single image. The typical ordering would be
414414
/// image 1 => Red, 2 => Green, 3 => Blue, etc.

0 commit comments

Comments
 (0)