in reply to Re: Image errors with PDF::API2;
in thread Image errors with PDF::API2;

Everything involved here is very old. Going by the info from elsewhere in the thread this is running on Centos 6 (edit and even an extremely ancient version of that, 6.5 rather than the "latest" 6.10) which went EOL just shy of a year ago (see here). OP would be much better served getting onto a newer platform and trying to get things working there rather than attempting to work around decade-ish old bugs.

The cake is a lie.
The cake is a lie.
The cake is a lie.