-
Notifications
You must be signed in to change notification settings - Fork 31
JPEG create issue #2
Comments
What happens, when you run the following command? |
Thanks for your quick response. When i use '-fmt jpg' or '-fmt png' the browser goes loading and loading in an infinite loop, once i remove it the pdf is converted but it takes much time because the images are created as PNG. |
You need to execute command in console: and analyse result |
Well i don't have access to the command console on the online server. Is there any relevant command for '-fmt jpg' that i can use? |
If i print the result of the command when using exec() i get the below: And when using shell_exec() i get the below:
i cant see any '-fmt' command available in the output, am i right? |
I think your poppler version too old.
|
Well that's make sense. Thanks a lot for your help. |
If you don't have root access on server, then you can try to find tool for your OS. |
Well i can contact the owners of the server. Thanks is advance. |
Dear Support,
I'm having trouble creating the pages as JPEG, it will only work once i remove the below code :
case 'imageJpeg':
$result = '-fmt ' . ($value ? 'jpg' : 'png');
break;
if the above code is enabled the browser goes infinite loop.
The latest Poppler is installed on our server.
The text was updated successfully, but these errors were encountered: