php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74516 Fourth argument not documented
Submitted: 2017-04-30 21:50 UTC Modified: 2021-03-16 13:09 UTC
From: mcruz at firmseek dot com Assigned:
Status: Verified Package: imagick (PECL)
PHP Version: Irrelevant OS:
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mcruz at firmseek dot com
New email:
PHP Version: OS:

 

 [2017-04-30 21:50 UTC] mcruz at firmseek dot com
Description:
------------
---
From manual page: http://www.php.net/imagick.thumbnailimage
---

The prototype at the top of the manual page for imagick->thumbnailImage includes an optional fourth argument ($fill), but the list of arguments beneath it only describes the first three. There is no further mention of $fill or what it does.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-02 14:18 UTC] cmb@php.net
-Package: Documentation problem +Package: imagick
 [2021-03-16 13:09 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2023-04-19 09:02 UTC] butesa at freenet dot de
Suggestion (based on https://github.com/Imagick/imagick/blob/28f27044e435a2b203e32675e942eb8de620ee58/imagick_class.c):

fill
Available since ImageMagick 6.3.2.
If fill is true and the image does not fill the box completely the box is filled with image's background color. The background color can be set using Imagick::setImageBackgroundColor().

legacy
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0. If false, the calculations should produce the same results as ImageMagick CLI does.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 23:01:29 2024 UTC