You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue trying to convert PDF to TIFF using the Convert utility. If we run the command from Linux command line, it works perfectly. But when calling the convert utility from my application, it fails saying:
convert: unable to load module /usr/lib64/ImageMagick-6.9.12/modules-Q16/coders/pdf.la': file not found @ error/module.c/OpenModule/1317. convert: no decode delegate for this image format PDF' @ error/constitute.c/ReadImage/581.
convert: no images defined `/usr/DPD/Exstream/root/applications/OTDP_Main_Josh/Output/BillReprint/001091119071_05162023_embedded.tiff' @ error/convert.c/ConvertImageCommand/3229.
Our Infra-Team installed Ghostscript to try and get around this issue as I saw that other users having this problem solved it this way. The problem persisted. I then used a GS command instead of the Convert command and GS wasn't recognized at all so that solution didn't work either. What really gets me is that it works perfectly from command line. The pdf.la module it is complaining it cannot load only happens when calling from application. From command line in linux it works fine. I have tried all the suggestions I have found from other users I work with and nothing has fixed this one issue.
I should also mention, that if I were to change my code to use another image file instead of PDF as the input file to convert, it works perfectly from my application. No issues at all. The issue is only present for trying to convert PDF to image from application. All other image formats seem to convert fine from application. From command line is only way PDF will convert for us....
fyi: we have already updated the policy xml to change the line for PDF as follows:
Our ImageMagic Version as you can see from the error message above is: ImageMagick-6.9.12
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am having an issue trying to convert PDF to TIFF using the Convert utility. If we run the command from Linux command line, it works perfectly. But when calling the convert utility from my application, it fails saying:
convert: unable to load module
/usr/lib64/ImageMagick-6.9.12/modules-Q16/coders/pdf.la': file not found @ error/module.c/OpenModule/1317. convert: no decode delegate for this image format
PDF' @ error/constitute.c/ReadImage/581.convert: no images defined `/usr/DPD/Exstream/root/applications/OTDP_Main_Josh/Output/BillReprint/001091119071_05162023_embedded.tiff' @ error/convert.c/ConvertImageCommand/3229.
Our Infra-Team installed Ghostscript to try and get around this issue as I saw that other users having this problem solved it this way. The problem persisted. I then used a GS command instead of the Convert command and GS wasn't recognized at all so that solution didn't work either. What really gets me is that it works perfectly from command line. The pdf.la module it is complaining it cannot load only happens when calling from application. From command line in linux it works fine. I have tried all the suggestions I have found from other users I work with and nothing has fixed this one issue.
I should also mention, that if I were to change my code to use another image file instead of PDF as the input file to convert, it works perfectly from my application. No issues at all. The issue is only present for trying to convert PDF to image from application. All other image formats seem to convert fine from application. From command line is only way PDF will convert for us....
fyi: we have already updated the policy xml to change the line for PDF as follows:
Our ImageMagic Version as you can see from the error message above is: ImageMagick-6.9.12
Please HELP. Will be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions