Open jcogs-design opened 2 years ago
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...
1.3.2
8.0.25
GD2
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
n/a
Issue description
This method calls this code three times (line 154, 165, 172)
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