tracker issue : CF-4199854

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

[ANeff] Doc Bug for: 2 issues in ImageMakeColorTransparent() color parameter description

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff ()

Created: 10/01/2017

Components: Documentation

Versions: 2016

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: 2016.0.01.298513 / 305783

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Platforms All

Vote Count: 0

Currently, ImageMakeColorTransparent doc's color parameter description has 2 issues.

Actual Result:
-----------
Required. The transparent color:

- Hexadecimal value of RGB color. For example, specify the color white as "##FFFFFF" or "FFFFFF".
- String value of color (for example, "black", "red", "green").
- The default value of the transparent color is "black".List of three numbers for (R,G,B) values. Each value must be in the range 0-255.
-----------

Issue 1: There is no default. So, 'The default value of the transparent color is "black"' should be removed.

Issue 2: Per CF-4077069's fix, multiple colors can be specified using an array. This is undocumented.

Expected Result:
-----------
Required. The transparent color:

- Hexadecimal value of RGB color. For example, specify the color white as "##FFFFFF" or "FFFFFF".
- String value of color (for example, "black", "red", "green").
- List of three numbers for (R,G,B) values. Each value must be in the range 0-255.

Multiple transparent colors can be specified using an array.
-----------

Attachments:

Comments:

Issue 3: The History section of the ImageMakeColorTransparent doc should also mention that the color parameter can be an array as of CF2016.
Comment by Aaron N.
273 | October 01, 2017 04:47:17 AM GMT
Aaron, I've modified the document: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-h-im/imagemakecolortransparent.html Thank you.
Comment by Saurav G.
274 | October 03, 2017 10:34:47 AM GMT