Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

php exec command OutOfMemory when call convert

images php coding issues or problems here.

Moderators: macek, egami, gesf

php exec command OutOfMemory when call convert

Postby ccristi77 » Fri Dec 10, 2010 1:21 pm

I have this img ... y=CI6I09MM

When calling via php
exec("convert a.jpg -resize 420x420 b.jpg") is not working. Is crashing with OutOfMemory
Can I use another call to avoid OutOfMemory ?

When calling from command bellow line is working ok.
convert a.jpg -resize 420x420 b.jpg

If I call from php
exec("convert a1.jpg -resize 420x420 b.jpg") and a1 is generated from command line with
convert a.jpg a1.jpg is working ok.

Can anyone tell me what is wrong with this image and also if there is a workaround for bellow issue to have same result with php ?

Thank You
New php-forum User
New php-forum User
Posts: 1
Joined: Fri Dec 10, 2010 1:11 pm

Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.