Doc #66492 [Opn->Nab]: imageflip example images don't match example code
| From: | cmb@php.net | Date: | Tue, 14 Jun 2016 15:45:24 +0000 |
| Subject: | Doc #66492 [Opn->Nab]: imageflip example images don't match example code | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13521@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66492&edit=1
ID: 66492
Updated by: cmb@php.net
Reported by: sleeping at myperch dot org
Summary: imageflip example images don't match example code
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.5.8
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The documentation is correct (at least as it's now). The constants
might be misleading, though. IMG_FLIP_HORIZONTAL means flip in
horizontal direction, but not mirror on a horizontal axis.
Previous Comments:
------------------------------------------------------------------------
[2014-01-15 22:28:33] sleeping at myperch dot org
Description:
------------
---
From manual page: http://www.php.net/function.imageflip
---
The first example is for vertical flipping but the example image is horizontally flipped. The second
example is for horizontal flipping but the image is vertically flipped.
Either switch the images around, or the code blocks.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66492&edit=1