php-image-resize icon indicating copy to clipboard operation
php-image-resize copied to clipboard

imageFlip() function removed in v2.0.1 but still referenced in Readme.

Open jarofgreen opened this issue 3 years ago • 1 comments
trafficstars

https://github.com/gumlet/php-image-resize/compare/2.0.0...2.0.1

But it's still in readme: https://github.com/gumlet/php-image-resize#flip

It's also still in the API docs linked from the readme: https://gumlet.github.io/php-image-resize/class-Gumlet.ImageResize.html

Is it the intention that this function should still be supported / available?

jarofgreen avatar Jul 17 '22 17:07 jarofgreen

For others, here's a workaround for PHP 5.5 and up:

            $image->addFilter(function ($image) {
                imageflip($image, IMG_FLIP_HORIZONTAL);
            });

jarofgreen avatar Jul 17 '22 17:07 jarofgreen

Readme updated.

adityapatadia avatar Oct 11 '23 14:10 adityapatadia