Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF8 - cfimage rotate causing high CPU utilization

New Here ,
Jan 11, 2011 Jan 11, 2011

CF8.0.1 Cumulative hotfix 4, if I try to rotate an image with CFIMAGE or it's related functions, CPU utilization climbs to close to 100% then never drops below 50% again until I restart the service. It exhibits this behavior on two of my CF servers, my developer and my staging servers.

Here's the code:

<!--- make new image file in memory --->

<cfset myImage=ImageNew("",200,18)>

<!--- draw some text --->

<cfset ImageDrawText(myImage,i,3,15)>

<!--- rotate it note: either method below yields the high utilization--->

<!---<cfset ImageRotate(myImage, '90','bicubic')>--->

<cfimage action="rotate" angle="90"  source="#myImage#" name="myIMageRotated">

<!--- display the image in the browser --->

<cfimage source="#myIMageRotated#" action="writeToBrowser">

Any help would be appreciated

419
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 16, 2011 Jun 16, 2011
LATEST

I'm having the same issue! I'm building a custom graph and I'm using rotated text images as labels for an axes. I'm experiencing a very high cpu utilization after running the code with imageRotate(). It still lingers even after the image is produced and like Dr Axe said it doesn't go away until you restart the coldfusion application server. Please help! This is a serious bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources