Some PDF thumbnails are all black!
Posted: 2011-10-03T22:48:44-07:00
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
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