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
Hi again!

I'm using Magick.NET-6.8.8.1001-Q16-AnyCPU-net40-client to convert a pdf to png.

I have the following code to do it:
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)
                        images.Dispose()
                    End Using
                    settings = Nothing
The 'sPlantillaRellena' variable is the pdf saved in a shared folder in a server and the 'sRutaImagen' variable is the png to be saved in a shared folder in a server.

I have already Ghostscript 9.14 for Windows 64 bit.

This code is working until today. But today, the application show the next error:
Magick: PostscriptDelegateFailed `\\carpetaCompartida\file_fill_1.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/713
We run the application in IIS 7 and we have an application pool, which is recycled every nigth.

What could be the problem?

Thanks in advance.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>