S
S
synapse_people2017-08-30 18:25:18
PHP
synapse_people, 2017-08-30 18:25:18

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);

Who knows what could be the matter, help, pliz! P.s. when viewing the resulting PDF, there is no such thing!
Previously, there was a 2012 version of ghostscript, everything was OK, but it generated slowly and crashed!
I installed the last of the repositories -2016 and then this bang-trouble (! but it generates quickly, but crookedly! ........

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question