Welcome Guest, Not a member yet? Register   Sign In
ImageMagick (via "exec") on Codeigniter
#1

[eluser]taewoo[/eluser]
hi everyone.
I'm trying to access imagemagick via "exec" (or "system".. or "passthru") but i am having no luck (running wampserver2)

if i run this

Code:
convert D:\wamp\www\mysite\www\.\images\in.png -font D:\wamp\www\mysite\www\fonts\arialbd.ttf -pointsize 48 -annotate +400+300 blah D:\wamp\www\mysite\www\images\out.png

via cygwin, it's FINE.

But if i run

Code:
exec('convert D:\wamp\www\mysite\www\.\images\in.png -font D:\wamp\www\mysite\www\fonts\arialbd.ttf -pointsize 48 -annotate +400+300 blah D:\wamp\www\mysite\www\images\out.png');

on my CI, i get NOTHING. No error. No nada.

does anyone know what's going on?

(I also tried forward slash as well as back slash)




Theme © iAndrew 2016 - Forum software by © MyBB