Ralf Hettinger, 2007-11-09 <bug>6604</bug>: use transparentColor.closest to trigger ImageMagicks parameter -fuzz
<pre>
TSref [tsref:->GIFBUILDER]
Change description for property transparentColor to describe new feature and clarify the existing ones.
New description:
Specify one or mor color(s) that should be transparent
Example-values:
#ffffcc
red
255,255,127
You can pass more than one color at a time by separating the colors with |. All of them will then be turned to transparency.
Example for passing more than one value:
#ffffcc | #ffffcd | #ffffce
Option:
transparentColor.closest = 1 or 2-99
If set to 1, this will replace the closest color in an indexed image which has less than the ~16 Mil colors that can be given as RGB value.
If set to 2-99, this will trigger ImageMagick's fuzzy logic to replace colors "similar" to the first color passed into transparency. In this case, the value given by closest will be treated as percentage intensity value to this fuzzy logic.
NOTE: It is pretty likely that you will need to experiment with .closest>1 if you use reduceColors-option or render text with niceText-option to get an acceptable result.