Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gd\Drawer -> ellipse #838

Open
jcogs-design opened this issue Nov 26, 2022 · 0 comments
Open

Gd\Drawer -> ellipse #838

jcogs-design opened this issue Nov 26, 2022 · 0 comments

Comments

@jcogs-design
Copy link

Issue description

This method calls this code three times (line 154, 165, 172)

        if (function_exists('imageantialias')) {
            imageantialias($this->resource, true);
        }

At least two of these calls appear to be unnecessary.

Before doing a PR to remove I thought it prudent to check whether there is a good reason for the apparently redundant calls...

What version of Imagine are you using?

1.3.2

What's the PHP version you are using?

8.0.25

What's the imaging library you are using [gd/imagick/gmagick/any]?

GD2

What's the imaging library configuration

GD Version: "2.3.3"
FreeType Support: true
FreeType Linkage: "with freetype"
GIF Read Support: true
GIF Create Support: true
JPEG Support: true
PNG Support: true
WBMP Support: true
XPM Support: true
XBM Support: true
WebP Support: true
BMP Support: true
TGA Read Support: true
JIS-mapped Japanese Font Support: false

Minimal PHP code to reproduce the error:

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant