Hi Eron

CF8 Offers a lot many different options for algorithms/Perf-Quality
parameter to be set with ImageResize() function. Refer Documentation for
more info on ImageResize().

Depending upon the parameter you select, your Resizing performance will
vary.

Thanks & Regards,
Jayesh Viradiya
Adobe CF Team

-----Original Message-----
From: Eron Cohen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 03, 2007 9:41 AM
To: CF-Talk
Subject: Re: CFIMAGE Resize Slow

Thanks for these suggestions Tom and Andy.  

I don't really know what about what I was doing brought down the
server--but I am pretty sure it was due to my experimentation with
images.  My code basically is setup to take a directory tree and then
loop through it to create thumbnails and watermarked images.  I needed
to use an image for my watermarking, so I was using a custom tag
CFX_WATERMARK to do the watermarking.  I am wondering if either there
was a thread safe issue with this tag (or the CFIMAGE tag), because I
didn't think to use CFLOCK around these.

As far as my initial image sizes, they are on average 1600x1200, but
some are bigger and some are smaller...and I am resizing them down to
800x? and 100x?.

I am trying out image.CFC now to see how that does.  I haven't tried
ColdFusion's image functions.

Thanks again.

> On Wednesday 03 Oct 2007, [EMAIL PROTECTED] wrote:
> > I wondering if anyone has any advice about ColdFusion 8's CFIMAGE 
> being
> > slow when resizing images.  Its REALLY slow.  I have even brought my

> server
> > down trying to resize a hundred or so images. 
> 
> If one slow page can crash your server, that's a bigger problem.
> 
> Depending on your use case, could you fire the resize of into a 
> CFTHREAD and 
> then get on with showing the user the next step ? Have you tried the 
> quality 
> parameter to CFIMAGE, or maybe using ImageSetAntialiasing() or even 
> ImageResize()'s interpolation and blurFactor ?
> --  



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290102
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to