You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
drawLine() ignores transparent colors with GD <= 2.1.0 #1349
The drawLine() function ignores a transparent color and draws the line completely opaque. #ffffff44 for example is drawn as #ffffffff.
The erroneous output was observed with GD version bundled (2.1.0 compatible), which is now about 8 years old and no longer supported. However, it still seems to be unfortunately present in many installations. For example, a recent official PHP 8.3 Docker image still contains this old version.
With a setup with the same version the line width is also ignored. See #1304
There were no problems with current GD versions (e.g. 2.3.3).
changed the title [-]drawLine() ignores line width and transparent colors with GD <= 2.1.0[/-][+]drawLine() ignores transparent colors with GD <= 2.1.0[/+]on May 5, 2024
Activity
[-]drawLine() ignores line width and transparent colors with GD <= 2.1.0[/-][+]drawLine() ignores transparent colors with GD <= 2.1.0[/+]