[Toolserver-l] what's the best way to convert SVGs to PNGs on the toolserver?

Tim Landscheidt tim at tim-landscheidt.de
Wed Feb 17 20:14:10 UTC 2010


Ryan Kaldari <kaldari at gmail.com> wrote:

> I tried shell_exec() and exec() instead of system() and it gives the same
> resullt - a zero byte file with no error. Any idea why it would work from
> the command line but not from PHP?

Are you sure there is no error? STDERR is usually discarded
by shell_exec () and similar functions. Try redirecting it
to STDOUT with "rsvg some thing 2>&1".

Tim




More information about the Toolserver-l mailing list