Jump to content

Image Magick -Shared Hosting And Memory


fivestringsurf

Recommended Posts

I have shared linux hosting (godaddy) and they have Image Magick installed but you can apparently only use it through exec() routines. I find this a pain in the rear and limiting as the image magick api doesn't seem to work to it's full capacity. Maybe it's version thing? they are running ver. 6.2.8; But I can't tell based on Image Magicks not so easy to understand website.

 

$run = exec('/usr/local/bin/convert IN.jpg -size 200x200 OUT.jpg',$out,$err); //WORKS
$run = exec('/usr/local/bin/convert IN.jpg -define jpeg:extent=400kb OUT.jpg',$out,$err); //DOES NOT WORK

 

Maybe it's my syntax, maybe it's a version thing, maybe it's an exec() thing?

Anybody have experience with Image Magick on shared hosting like this?

 

I just know someone is going to chime in and say "get new hosting" but

1. a virtual dedicated server would pretty much start at $30/month 5 times what I pay now

2. I'm not a sys admin guy or linux guy and can just forsee the headaches.

 

On another note, is there anyway I can increase the memory at runtime? My larger images say around 10mb and up don't process.

 

 

Thanks

Edited by fivestringsurf
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.