Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
IM relies upon Ghostscript delegate library to process PDF files. Your GS is rather old. Perhaps try upgrading and make sure you install the ghostscript fonts.
It's a shared server. Thay allready told me they cant update the ghostscript library.
Is there a convert param to indicate which font to use when the original font is not available?
tks
fcaserio wrote:It's a shared server. Thay allready told me they cant update the ghostscript library.
Is there a convert param to indicate which font to use when the original font is not available?
tks
I do not know. That is something that has to do with Ghostscript. You would likely need to review the GS documentation or ask on GS forum. If you are lucky, perhaps some one else on this forum might know.
Note that -size 300x300 will do nothing in this command. You might try without it.
If that does not work, then can you post a link to one of your problematic pdf files and we can at least test with other versions of GS and IM. You can upload your image to dropbox.com (public folder) and put a link here.
Also you may want to use -colorspace sRGB on more current versions of IM, since there was a switch at one point in time to correct the misuse of -colorspace RGB to its proper -colorspace sRGB.
I'm not concerned about quality exactly. I want to prevent errors when thumbing PDFs.
This is a page with some tests http://www.acasa.org.br/cgi-local/teste.php
I work from a long time with IM and PDFs, and on this particular server I'm having this problem.
I think that when the PDF is generated by word it includes a basefont tag, which is the issue that is causing IM to crash
fcaserio wrote:I'm not concerned about quality exactly. I want to prevent errors when thumbing PDFs.
This is a page with some tests http://www.acasa.org.br/cgi-local/teste.php
I work from a long time with IM and PDFs, and on this particular server I'm having this problem.
I think that when the PDF is generated by word it includes a basefont tag, which is the issue that is causing IM to crash
We need a link to one problematic input PDF that can be downloaded as PDF in order to do any meaningful tests.
fcaserio wrote:On gs 9.* I dont have problems.
But the server is running gs 8.71
That is a GS problem and not an IM problem. You need to take that up with the providers of GS or your ISP. Or ask your questions on some GS forum.
Have you verified with your ISP that they have installed the GS fonts library and your account has the exported the path to GS fonts in your PATH or .profile file?