tracker issue : CF-3328445

select a category, or use search below
(searches all categories and all time range)
Title:

imageRotate and default for X/Y

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 09/10/2012

Components: Documentation, General

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Mac 10.7 64-bit

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on February 15, 2019 using build 2016.0.01.298513
According to the docs, if you do not specify an X,Y value to base your image rotation on, it will default to 2/2. But when I leave the value off, I see completely different images.

<cfset textImage=ImageNew("",200,200,"rgb","white")>

<cfset ImageSetDrawingColor(textImage,"black")>

<cfset attr=StructNew()>
<cfset attr.size=30>
<cfset attr.style="bold">
<cfset attr.font="ArialMT">

<cfset ImageSetAntialiasing(textImage, "on")>
<cfset ImageDrawText(textImage,"Paris",50,75,attr)>
<cfset ImageRotate(textImage,30,2,2)>
<cfimage action="writeToBrowser" source="#textImage#">

<cfset textImage=ImageNew("",200,200,"rgb","white")>

<cfset ImageSetDrawingColor(textImage,"black")>

<cfset attr=StructNew()>
<cfset attr.size=30>
<cfset attr.style="bold">
<cfset attr.font="ArialMT">

<cfset ImageSetAntialiasing(textImage, "on")>
<cfset ImageDrawText(textImage,"Paris",50,75,attr)>
<cfset ImageRotate(textImage,30)>
<cfimage action="writeToBrowser" source="#textImage#">

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3328445

External Customer Info:
External Company:  
External Customer Name: cfjedimaster
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Added the required information and more details to the interpolation methods. The new description is at: https://helpx.stage.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-h-im/imagerotate.html
Comment by Saurav G.
18108 | September 22, 2015 12:51:38 AM GMT
Made the change in: https://helpx.stage.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-h-im/imagerotate.html
Comment by Saurav G.
18109 | September 22, 2015 03:26:49 AM GMT
Verified the documentation.
Comment by S P.
18110 | September 22, 2015 03:32:16 AM GMT
Hi Adobe, I've verified this is fixed. Thanks!, -Aaron
Comment by Aaron N.
30260 | February 15, 2019 12:13:46 PM GMT