Skip to content

Commit

Permalink
imageflip example updated
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapatadia committed Oct 11, 2023
1 parent 478f64f commit e3ea6e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ Flips an image using a given mode and this method is only for PHP version 5.4.
$flip = new ImageResize('image.png');
$image = imagecreatetruecolor(200, 100);

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

```

Expand Down

0 comments on commit e3ea6e1

Please sign in to comment.