The percent symbol will need to be escaped on Window's command prompt. This is because the of "Parameter Extensions" functionality defined by the %
character. To escape it, use double percent %%
. Also, I believe you want to use -quality
, as -quanlity
is not defined in Command-Line Options.
exec('convert -strip -quality 75%% 0.jpg 00.jpg');