The command works just fine from the shell
/opt/ImageMagick/bin/convert /private/var/folders/nl/9cky1krj5_j7zwm34tfkndd40000gn/T/pdfPyflQF /private/var/folders/nl/9cky1krj5_j7zwm34tfkndd40000gn/T/imgRilIdW 2>&1
I got image generated. But if I run it with php
exec
function I get error
Array
(
[0] => convert: no images defined `/private/var/folders/nl/9cky1krj5_j7zwm34tfkndd40000gn/T/imgRilIdW' @ error/convert.c/ConvertImageCommand/3212.
)
Seems it's not permission issue. File permissions are 666. Can't figure out what is wrong.