Reply to Re: slooooow resize

Re: slooooow resize new!
by Tim, 9 years, 6 months ago
I'm uploading one image and making several copies of it; full-size, tablet, mobile, tn, etc., and it's taking upwards of 30-40 seconds to process. I'm just using a photo directly off an iPhone (3,264 x 2,448), as most people will do these days.

Do you see anything here that will make this take so long? I'm using the exact same code for the other images, just changed their sizes. Processing just this block takes almost 9 seconds on an iMac 2013 model.
$handle->file_new_name_body     = $data['filename'];
$handle->allowed                = array('image/*');
$handle->image_resize           = true;
$handle->image_x                = 1920;
$handle->image_y                = 1280;
$handle->image_ratio_no_zoom_in = true;
$handle->file_overwrite         = true;
$handle->Process($directory);

Anything I can do to speed it up? Also, I'll be doing pixellation on some images too. Any tips on speeding that up?

Thanks!

TimReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important