MDDHosting Forums: ImageMagick - possible problem - MDDHosting Forums
Page 1 of 1
ImageMagick - possible problem
#1
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.
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.
#2
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
█ LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
█ Incremental R1Soft CDP Backups on all services!
█ http://www.mddhosting.com/ - Follow us on Twitter! @MDDHosting
#3
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.
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.
#4
Posted 02 November 2011 - 11:34 PM
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
█ LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
█ Incremental R1Soft CDP Backups on all services!
█ http://www.mddhosting.com/ - Follow us on Twitter! @MDDHosting
Share this topic:
Page 1 of 1

Help











