Skip to content

Commit 1b34412

Browse files
committed
Fix bug 68629: Transparent artifacts when using imagerotate
We port the respective upstream fix[1], which dropped the special cased implementations of fixed-point arithmetic rotation in favor of the generic implementation. [1] <libgd/libgd@bd6d2e1>
1 parent e4ad271 commit 1b34412

File tree

3 files changed

+81
-425
lines changed

3 files changed

+81
-425
lines changed

ext/gd/libgd/gd.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ typedef enum {
159159
GD_SINC,
160160
GD_TRIANGLE,
161161
GD_WEIGHTED4,
162-
GD_METHOD_COUNT = 21
162+
GD_LINEAR,
163+
GD_METHOD_COUNT = 22
163164
} gdInterpolationMethod;
164165

165166
/* define struct with name and func ptr and add it to gdImageStruct gdInterpolationMethod interpolation; */

0 commit comments

Comments
 (0)