Hi All,
We have used
$cmd = 'export PATH="/usr/local/bin/"; convert -density 400 -colorspace RGB '.$pdf_path.''.$pdf_name.' -resize 125 -quality 100 '.$thumb_path.''.$file_name.'.jpg';
$all_thumb = shell_exec($cmd);
But thumbnails are all black in few server, not for all the servers. Will you suggest me why that is not working properly in few server?
We have reinstalled image magic and ghostscript. still creating black thumbnails.
Actually text section of pdf become black in jpeg image.
Thanks,
Wiankim
Some PDF thumbnails are all black!
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Some PDF thumbnails are all black!
Look at the version numbers of both IM and ghostscript on the servers that work, and those that do not.
Best idea is to ensure all servers are up to date in BOTH bits of software.
Best idea is to ensure all servers are up to date in BOTH bits of software.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/