#### Category : imagick

Is there a way to place curved text over an image using Imagick? I have the following code which creates a coloured background as an image and places text over it, then the whole thing is curved but if I were to replace the plain bg with an image, the image is distorted. How do ..

I try to use first time Imagick to convert pdf files to images and it dont work for me. When i try use Imagick with images files, its ok and working fine, problem is with PDF files. My test php controller: namespace AppHttpControllers; use IlluminateHttpRequest; use Imagick; class NewspaperController extends Controller { /** * @throws ..

Below is the Imagick code reading a PDF file. $imgExtension = new Imagick();$imgExtension->setResolution(300,300); $imgExtension->readImage($pdffile); Below error appears in the log-> production.ERROR: attempt to perform an operation not allowed by the security policy PDF’ @ error/constitute.c/IsCoderAuthorized/408 {"userI d":1,"exception":"[object] (ImagickException(code: 499): attempt to perform an operation not allowed by the security policy PDF’ @ error/constitute.c/IsCoderAutho rized/408 ..

I’m using the laravel spatie package to convert pdfs to images and he works just fine until I decided to upgrade to php8 so I uninstalled & reinstalled xampp with php8 after that, I installed Imgaick and restarts the server, when I tried to upload a pdf the server through the error (PDFDelegateFailed `The system ..

I want to pass uploaded file content to an API. If file is pdf then there is no issue, but if file is in image format then I need to covert that image to pdf. Converting image to pdf is okay but instead of saving I want to pass that converted file to an API ..

I am trying to convert PDF to image using Imagick PHP. Able to achieve it when PDF is not password protected. But unable to find solution if PDF is protected with password. Any help will be much much helpful. My function – public static function convertPdfToImage($file) {$im = new Imagick(); $im->readImage($file); $im->setIteratorIndex(0);$im->setImageFormat(‘jpg’); return ..