Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: No such file or directory @ error/pdf.c/ReadPDFImage/713

$
0
0
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.
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.

Viewing all articles
Browse latest Browse all 3693

Trending Articles