Re: [cfaussie] cfimage processing slow

2012-08-08 Thread Zac Spitzer
if it's slow, they are probably RGBA images

this might help

http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.html

z

On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis st...@cfcentral.com.au wrote:
 currently cf9

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.

 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] MAD! Melbourne Adobe Developers: Searn Corfield, Clojure. 21 Aug **TUESDAY**, 2012

2012-08-08 Thread Dale Fraser
And me, probably 4 from here.

 

Regards

Dale Fraser

 

http://dale.fraser.id.au

http://cfmldocs.com

http://learncf.com

http://flexcf.com

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Josh Wines
Sent: Wednesday, 8 August 2012 3:38 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] MAD! Melbourne Adobe Developers: Searn Corfield,
Clojure. 21 Aug **TUESDAY**, 2012

 

I'll be coming along too.

-- 
You received this message because you are subscribed to the Google Groups
cfaussie group.
To view this discussion on the web visit
https://groups.google.com/d/msg/cfaussie/-/qS5-jjVdzSIJ.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] MAD! Melbourne Adobe Developers: Searn Corfield, Clojure. 21 Aug **TUESDAY**, 2012

2012-08-08 Thread Brendan Owen
I'll be there
On Aug 8, 2012 5:52 PM, Dale Fraser d...@fraser.id.au wrote:

 And me, probably 4 from here.

 ** **

 Regards

 Dale Fraser

 ** **

 http://dale.fraser.id.au

 http://cfmldocs.com

 http://learncf.com

 http://flexcf.com

 ** **

 *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On
 Behalf Of *Josh Wines
 *Sent:* Wednesday, 8 August 2012 3:38 PM
 *To:* cfaussie@googlegroups.com
 *Subject:* Re: [cfaussie] MAD! Melbourne Adobe Developers: Searn
 Corfield, Clojure. 21 Aug **TUESDAY**, 2012

 ** **

 I'll be coming along too.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/cfaussie/-/qS5-jjVdzSIJ.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] MAD! Melbourne Adobe Developers: Searn Corfield, Clojure. 21 Aug **TUESDAY**, 2012

2012-08-08 Thread Mark Mandel
S'gonna be a full house! :)

Mark

On Wed, Aug 8, 2012 at 7:16 PM, Brendan Owen brendan.o...@gmail.com wrote:

 I'll be there
 On Aug 8, 2012 5:52 PM, Dale Fraser d...@fraser.id.au wrote:

 And me, probably 4 from here.

 ** **

 Regards

 Dale Fraser

 ** **

 http://dale.fraser.id.au

 http://cfmldocs.com

 http://learncf.com

 http://flexcf.com

 ** **

 *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On
 Behalf Of *Josh Wines
 *Sent:* Wednesday, 8 August 2012 3:38 PM
 *To:* cfaussie@googlegroups.com
 *Subject:* Re: [cfaussie] MAD! Melbourne Adobe Developers: Searn
 Corfield, Clojure. 21 Aug **TUESDAY**, 2012

 ** **

 I'll be coming along too.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/cfaussie/-/qS5-jjVdzSIJ.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

  --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] cfimage processing slow

2012-08-08 Thread Steve Onnis
Charlie

Once again thank you for such an indepth response.

Yes the task i am performing is resizing, generating thumbnails of images.
I have about 12000 images that i am performing this task on and i have been
monitoring the folder that the generated thumbnails are being stored in.  I
have been noticing that the number of images are increasing as the
thumbnails are generated but the increase seems to be but units of one or
two.  I appreciate that the there will be a delay between when windows
updates its files in folder count which would explain the increment values.

What i then did was create a file that added 50 iframes each with the url of
the script that is performing the task.  I would have assumed that doing
this would see the number of files in the thumbnail folder increase by
larger increments and a lot faster which does not seem to be the case.  It
is like everything is being queued up and processed one at a time.

The only thing i can think of is that this isnt working because of a limit
of the number of simultaneous requests that the browser can handle. I have
tried this also using multiple browser windows with the same outcome.

Steve

-Original Message-
From: Charlie Arehart [mailto:charlie_li...@carehart.org] 
Sent: Wednesday, 8 August 2012 11:07 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] cfimage processing slow

Hey Steve, here are two thoughts about your challenge with image processing.

First, in case you or others may have wondered, image manipulation is NOT
among the features that are single-threaded in CF Standard due to the
enterprise feature router or EFR feature (which limits performance of some
tags in CF Standard as compared to CF Enterprise, by single-threading them).
This is discussed briefly on the CF9 feature comparison matrix:

http://www.adobe.com/products/coldfusion/pdfs/cf9_feature_comparison_matrix_
ue.pdf


Second, you don't mention it, but by any chance is the processing you want
to do image resizing? This is indeed a common source of frustration and
annoyance for many, and there may be very good news for you if that's the
problem you're hitting.

No one's mentioned it here yet, but for image resizing in CF (whether with
the CFIMAGE tag or imageresize function), the default interpolation value,
which is highestquality,  can be changed to highestperformance, which
may make a great improvement without much loss of image quality. Test for
yourself to see.

One challenge is that changing this is not supported in CFIMAGE until CF10.
But in CF8 and 9 you can change to using the imageresize function, which
supports changing the interpolation as its 4th argument.

I discuss all this in more detail in a blog entry here:
http://www.carehart.org/blog/client/index.cfm/2012/5/28/cf_image_resizing_pr
oblem_and_solution.

Finally, I do realize that some resize problems are due to color level
issues like James mentions in his comment here. I'll note that Adobe says
they addressed this some in CF10 also (at least on OSX and 64-bit OS's), but
if anyone has an example for them that still performs poorly in CF10, I'm
sure they'd want to hear about it and address is if possible.

But back to Steve's original question here, I wanted to make sure that folks
having resize performance problems are at least aware of this interpolation
issue, since it's so easy to change and test. It's helped a lot of people
when I've been helping with image resize performance problems. 

/charlie

-Original Message-
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Zac Spitzer
Sent: Wednesday, August 08, 2012 2:30 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] cfimage processing slow

if it's slow, they are probably RGBA images

this might help

http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h
tml

z

On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis st...@cfcentral.com.au wrote:
 currently cf9

 --
 You received this message because you are subscribed to the Google 
 Groups cfaussie group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.

 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168

--
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.



--
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group, send email 

Re: [cfaussie] cfimage processing slow

2012-08-08 Thread Blair McKenzie
Does the job need to be done with ColdFusion? Even if this is an ongoing
task, at the scale you're talking about I have to agree with Josh -
ImageMagick would be better. Throwing to ImageMagick with CFEXECUTE
separately for each image might be faster than CFIMAGE. It would definitely
be faster for batch resizes.

Blair

On Thu, Aug 9, 2012 at 9:45 AM, Steve Onnis st...@cfcentral.com.au wrote:

 the actual operation is being done as fast as i would expect as some of the
 files are a few Mb in size. the issue is that they seem to be getting done
 one at a time

 -Original Message-
 From: Zac Spitzer [mailto:zac.spit...@gmail.com]
 Sent: Wednesday, 8 August 2012 4:30 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] cfimage processing slow

 if it's slow, they are probably RGBA images

 this might help


 http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h
 tmlhttp://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h%0Atml

 z

 On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis st...@cfcentral.com.au
 wrote:
  currently cf9
 
  --
  You received this message because you are subscribed to the Google
  Groups cfaussie group.
  To view this discussion on the web visit
  https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.
 
  To post to this group, send email to cfaussie@googlegroups.com.
  To unsubscribe from this group, send email to
  cfaussie+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/cfaussie?hl=en.



 --
 Zac Spitzer
 Solution Architect / Director
 Ennoble Consultancy Australia
 http://www.ennoble.com.au
 http://zacster.blogspot.com
 +61 405 847 168

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.



 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] cfimage processing slow

2012-08-08 Thread Blair McKenzie
Yes. ImageMagick is like the gold standard of image processing tools.

On Thu, Aug 9, 2012 at 9:55 AM, Steve Onnis st...@cfcentral.com.au wrote:

 does that handle cmyk images?

 ** **

 *From:* Blair McKenzie [mailto:shi...@gmail.com]
 *Sent:* Thursday, 9 August 2012 9:54 AM

 *To:* cfaussie@googlegroups.com
 *Subject:* Re: [cfaussie] cfimage processing slow

 ** **

 Does the job need to be done with ColdFusion? Even if this is an ongoing
 task, at the scale you're talking about I have to agree with Josh -
 ImageMagick would be better. Throwing to ImageMagick with CFEXECUTE
 separately for each image might be faster than CFIMAGE. It would definitely
 be faster for batch resizes.

 Blair

 On Thu, Aug 9, 2012 at 9:45 AM, Steve Onnis st...@cfcentral.com.au
 wrote:

 the actual operation is being done as fast as i would expect as some of the
 files are a few Mb in size. the issue is that they seem to be getting done
 one at a time


 -Original Message-
 From: Zac Spitzer [mailto:zac.spit...@gmail.com]
 Sent: Wednesday, 8 August 2012 4:30 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] cfimage processing slow

 if it's slow, they are probably RGBA images

 this might help


 http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h
 tmlhttp://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h%0Atml

 z

 On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis st...@cfcentral.com.au
 wrote:
  currently cf9
 
  --
  You received this message because you are subscribed to the Google
  Groups cfaussie group.
  To view this discussion on the web visit
  https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.
 
  To post to this group, send email to cfaussie@googlegroups.com.
  To unsubscribe from this group, send email to
  cfaussie+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/cfaussie?hl=en.



 --
 Zac Spitzer
 Solution Architect / Director
 Ennoble Consultancy Australia
 http://www.ennoble.com.au
 http://zacster.blogspot.com
 +61 405 847 168

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.



 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

 ** **

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.