Skip to content

Gd\Drawer -> ellipse #838

Open
Open
@jcogs-design

Description

@jcogs-design

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions