Page 1 of 1

Some PDF thumbnails are all black!

Posted: 2011-10-03T22:48:44-07:00
by wiankim
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

Re: Some PDF thumbnails are all black!

Posted: 2011-10-03T23:44:07-07:00
by anthony
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.