views:

50

answers:

1

Hi,

I'm using the Imagick PHP wrapper for ImageMagick. I've noticed there are some ImageMagick commands that are not available in the Imagick wrapper, such as autolevel and normalize.

How should I go about calling these? Couldn't find anything in Imagick. Are there disadvantages to calling the ImageMagick commands directly through the shell with exec() or shell_exec()?

A: 

I recommend using system(). For some reason, exec() doesn't work on my MacBook.

Tech163
Was hoping there'd be a way to do it without escaping to shell, but... guess not.
Tal