No, I don't use the collection after it has been disposed. In fact, I put 'images.Dispose()' when occurs the first error in case it could be a memory problem.
Actually, I run the application without 'images.Dispose()' and I get the same error (Object reference not set to an instance of an object) in the same line.
Actually, I run the application without 'images.Dispose()' and I get the same error (Object reference not set to an instance of an object) in the same line.
Dim settings As New MagickReadSettings()
settings.Density = New MagickGeometry(300, 300)
Using images As New MagickImageCollection()
images.Read(sPlantillaRellena, settings)
Dim horizontal As MagickImage = images.AppendHorizontally()
horizontal.Write(sRutaImagen)
End Using
Thanks.