Answer the question
In order to leave comments, you need to log in
How to remove these Imagick lines?
In general, when saving pdf to jpg, the following picture is obtained:
pixs.ru/showimage/Screenshot_9142411_27374966.png
when viewed in libreoffice, this is obtained:
pixs.ru/showimage/Screenshot_3823697_27374970.png
The code for converting is nothing unusual:
$im->readImage($fpath);
$im->resetIterator();
# Combine multiple images into one, stacked vertically.
$ima = $im->appendImages(TRUE);
$ima->setImageFormat('jpeg');
return $ima->writeImages($filename, TRUE);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question