Skip to content

Commit 88ab1a8

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 d20880c commit 88ab1a8

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
@@ -145,7 +145,8 @@ typedef enum {
145145
GD_SINC,
146146
GD_TRIANGLE,
147147
GD_WEIGHTED4,
148-
GD_METHOD_COUNT = 21
148+
GD_LINEAR,
149+
GD_METHOD_COUNT = 22
149150
} gdInterpolationMethod;
150151

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

0 commit comments

Comments
 (0)