Hello,
I'm using Q8-Any CPU, v7.0.0.19. When I call Montage in a MagickImageCollection, it always return null the first time. If I make the call again with the same parameters, it works fine.
Hopefully that should be fixed. Thank you
Comments: I just added a unit test for Montage but I am unable to produce your issue with my development build. I am using the following code: ```C# using (MagickImageCollection images = new MagickImageCollection()) { for (int i = 0; i < 9; i++) images.Add(Files.Builtin.Logo); MontageSettings ms = new MontageSettings(); ms.Geometry = new MagickGeometry(string.Format("{0}x{1}", 200, 200)); ms.TileGeometry = new MagickGeometry(string.Format("{0}x", 2)); using (MagickImage montageResult = images.Montage(ms)) { Assert.IsNotNull(montageResult); Assert.AreEqual(400, montageResult.Width); Assert.AreEqual(1000, montageResult.Height); } } ``` I think your issue is the call to .Trim. Is your problem resolved when you call 'RePage' after trimming the image? For more information about that read this: http://www.imagemagick.org/Usage/crop/#trim
I'm using Q8-Any CPU, v7.0.0.19. When I call Montage in a MagickImageCollection, it always return null the first time. If I make the call again with the same parameters, it works fine.
Hopefully that should be fixed. Thank you
Comments: I just added a unit test for Montage but I am unable to produce your issue with my development build. I am using the following code: ```C# using (MagickImageCollection images = new MagickImageCollection()) { for (int i = 0; i < 9; i++) images.Add(Files.Builtin.Logo); MontageSettings ms = new MontageSettings(); ms.Geometry = new MagickGeometry(string.Format("{0}x{1}", 200, 200)); ms.TileGeometry = new MagickGeometry(string.Format("{0}x", 2)); using (MagickImage montageResult = images.Montage(ms)) { Assert.IsNotNull(montageResult); Assert.AreEqual(400, montageResult.Width); Assert.AreEqual(1000, montageResult.Height); } } ``` I think your issue is the call to .Trim. Is your problem resolved when you call 'RePage' after trimming the image? For more information about that read this: http://www.imagemagick.org/Usage/crop/#trim