MDDHosting Forums: ImageMagick - possible problem - MDDHosting Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ImageMagick - possible problem

#1 User is offline   apprentice 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 02-November 11

Posted 02 November 2011 - 03:41 AM

Resizing a relatively small picture (1024x768, 600kb) using ImageMagick command line utility takes 8-9 seconds. I tried this on 2 different MDD shared hosting servers - the time it took to complete was similar.
I am using a test php page with only one line >>> exec( "convert t.jpg -resize 200x200 ts.jpg")
Any idea why it is so slow? From what I am seeing online, the task should take no more than 0.5 seconds (from replays on http://www.imagemagi...php?f=1&t=12106)
Thanks.
0

#2 User is offline   Scott S 

  • MDDHosting Staff
  • PipPip
  • Group: Staff Administrator
  • Posts: 139
  • Joined: 24-February 09
  • Gender:Male
  • Location:GMT-8:00

Posted 02 November 2011 - 06:11 PM

If you haven't already, please open a support ticket regarding this so we can try to reproduce the delay and debug what is causing it.
Scott S. - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all services!
http://www.mddhosting.com/ - Follow us on Twitter! @MDDHosting
0

#3 User is offline   apprentice 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 02-November 11

Posted 02 November 2011 - 11:19 PM

Thanks Scott - I just opened a support ticket for this.

I also did some more testing - resizing of the images to 200px wide (retaining proportions) took:

image 1 (.jpg, 400x266, 42KB) completed in 7.5 sec
image 2 (.jpg, 1024x768, 606KB) completed in 8.25 sec
image 3 (.jpg, 3032x2007, 1.9MB) completed in 8.5 sec
image 4 (.jpg, 4872x3248, 9.4MB) completed in 10.3 sec

Seems that there is a 7+ seconds delay in execution... Image 1 should have converted instantaneously.
If anyone knows why this is happening please let me know.
0

#4 User is offline   Scott S 

  • MDDHosting Staff
  • PipPip
  • Group: Staff Administrator
  • Posts: 139
  • Joined: 24-February 09
  • Gender:Male
  • Location:GMT-8:00

Posted 02 November 2011 - 11:34 PM

I'm looking into the issue now and will update your ticket momentarily.

Your ticket has been updated.

This post has been edited by Scott S: 02 November 2011 - 11:39 PM

Scott S. - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
Incremental R1Soft CDP Backups on all services!
http://www.mddhosting.com/ - Follow us on Twitter! @MDDHosting
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users