Doc #54159 [Opn->Csd]: Wrong Parameter Description

From: Date: Wed, 27 Apr 2011 14:31:35 +0000
Subject: Doc #54159 [Opn->Csd]: Wrong Parameter Description
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6302@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54159&edit=1 ID: 54159 Updated by: salathe@php.net Reported by: stfnhch at gmail dot com Summary: Wrong Parameter Description -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: All PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2011-04-27 16:30:37] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=310561 Log: clarify stack parameter for Imagick::appendImages (doc #54159) ------------------------------------------------------------------------ [2011-03-04 09:55:20] stfnhch at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.imagick-appendimages --- The description of the parameter "stack" is wrong. The options are not - as implied by the documentation - "top to bottom" and "bottom to top", but "top to button" (given stack == true) and "left to right" (for stack == false). Test script: --------------- <?php /* Create new imagick object */ $im = new Imagick(); /* create red, green and blue images */ $im->newImage(100, 50, "red"); $im->newImage(100, 50, "green"); $im->newImage(100, 50, "blue"); /* Append the images into one */ $im->resetIterator(); $combined = $im->appendImages(false); /* Output the image */ $combined->setImageFormat("png"); header("Content-Type: image/png"); echo $combined; ?> Actual result: -------------- The three blocks (in red, green and blue colour respectively) will put the images next to each other instead of on top of each other as the documentation implies ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54159&edit=1

« previous php.doc.bugs (#6302) next »