Skip to content

Commit

Permalink
Fix bug 68629: Transparent artifacts when using imagerotate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cmb69 committed Jan 6, 2025
1 parent e4ad271 commit 1b34412
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 425 deletions.
3 changes: 2 additions & 1 deletion ext/gd/libgd/gd.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ typedef enum {
GD_SINC,
GD_TRIANGLE,
GD_WEIGHTED4,
GD_METHOD_COUNT = 21
GD_LINEAR,
GD_METHOD_COUNT = 22
} gdInterpolationMethod;

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

0 comments on commit 1b34412

Please sign in to comment.