php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54159 Wrong Parameter Description
Submitted: 2011-03-04 09:55 UTC Modified: 2011-04-27 16:31 UTC
From: stfnhch at gmail dot com Assigned: salathe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stfnhch at gmail dot com
New email:
PHP Version: OS:

 

 [2011-03-04 09:55 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-27 16:30 UTC] 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-04-27 16:31 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2011-04-27 16:31 UTC] salathe@php.net
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.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 07:00:01 2026 UTC