Skip to content

Commit 4b4883c

Browse files
committed
Fix #78370: imagefilltoborder does not fill
1 parent 9932902 commit 4b4883c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/image/functions/imagefilltoborder.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@ imagedestroy($im);
108108
</example>
109109
</para>
110110
</refsect1>
111+
112+
<refsect1 role="notes">
113+
&reftitle.notes;
114+
<simpara>
115+
The algorithm does not explicitly remember which pixels have
116+
already been set, but rather infers that from the color of the
117+
pixel, so it cannot distinguish between freshly set pixels and
118+
pixels that are already there. That means chosing any fill color
119+
that is already used in the image may yield undesired results.
120+
</simpara>
121+
</refsect1>
122+
111123
</refentry>
112124

113125
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)