We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently creating thumbnails from PDFs is not working in Centos
[vagrant@claw drupal]$ convert test.pdf -thumbnail 100x100 jpeg:- convert: Postscript delegate failed `test.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/678. convert: no images defined `jpeg:-' @ error/convert.c/ConvertImageCommand/3046.
This is because ghostscript is not installed.
[vagrant@claw ~]$ gs -v -bash: gs: command not found [vagrant@claw ~]$ sudo yum update ghostscript Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: muug.ca * epel: muug.ca * extras: muug.ca * nux-dextop: mirror.li.nux.ro * remi-safe: mirror.team-cymru.com * updates: muug.ca Package(s) ghostscript available, but not installed. No packages marked for update [vagrant@claw ~]$ sudo yum install ghostscript Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: muug.ca * epel: muug.ca * extras: muug.ca * nux-dextop: mirror.li.nux.ro * remi-safe: mirror.team-cymru.com * updates: muug.ca Resolving Dependencies --> Running transaction check ---> Package ghostscript.x86_64 0:9.25-2.el7_7.3 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================== Installing: ghostscript x86_64 9.25-2.el7_7.3 updates 112 k Transaction Summary ================================================================================================================================== Install 1 Package Total download size: 112 k Installed size: 150 k Is this ok [y/d/N]: y Downloading packages: ghostscript-9.25-2.el7_7.3.x86_64.rpm | 112 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : ghostscript-9.25-2.el7_7.3.x86_64 1/1 Verifying : ghostscript-9.25-2.el7_7.3.x86_64 1/1 Installed: ghostscript.x86_64 0:9.25-2.el7_7.3 Complete! [vagrant@claw ~]$ convert test.pdf -thumbnail 100x100 jpeg:- > test.jpg [vagrant@claw ~]$ identify test.jpg test.jpg JPEG 100x56 100x56+0+0 8-bit DirectClass 6.58KB 0.000u 0:00.000
The text was updated successfully, but these errors were encountered:
Resolved via islandora-deprecated/ansible-role-crayfish@ac704d0
Sorry, something went wrong.
No branches or pull requests
Currently creating thumbnails from PDFs is not working in Centos
This is because ghostscript is not installed.
The text was updated successfully, but these errors were encountered: