Using Imagick -draw image over with php exec returns 126 out
Posted: 2014-07-29T06:02:58-07:00
I'm trying to draw an image onto a blank canvas using php exec
but i get a 126 error out.
I'm guessing it have something to do with the image path...
Should i use more quotes somewhere? or escape some?
Code: Select all
exec("convert -size ".$final_image_w."x".$final_image_h." xc:white
-draw 'image over 0,1659 500,200 /home/isocia5/public_html/fbcalendar/images/exports/cal_print_bot_1.jpg'
/home/isocia5/public_html/fbcalendar/src/php/upload/temp/blank_image_".$canvas_id.".jpg",$out,$err);
I'm guessing it have something to do with the image path...
Should i use more quotes somewhere? or escape some?