|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75898 suggestion for imagecropauto() function
Submitted: 2018-01-31 22:25 UTC Modified: 2018-02-05 20:40 UTC
From: chris dot bjerken at columbian dot com Assigned: salathe (profile)
Status: Closed Package: GD related
PHP Version: 7.2.1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: chris dot bjerken at columbian dot com
New email:
PHP Version: OS:


 [2018-01-31 22:25 UTC] chris dot bjerken at columbian dot com
From manual page:

I had a scenario today where I had to create an entire script as an alternative to imagick's trimimage method that in turn already existed natively in PHP with function imagecropauto().  You might imagine my frustration of this wasted time.

We can help anyone else avoid the same mistake in the future by building a dummy page named something like "imagetrim" to direct people to the imagecropauto page, much like is a dummy page to direct people to the doc page for unlink.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-01 22:28 UTC]
-Package: Documentation problem +Package: GD related
 [2018-02-01 22:28 UTC]
I'd rather like to be redirected to the actually desired page, or
to see it listed in the search results, but as workaround a dummy
page might be in order – on the other hand, where would we stop?
Dummy pages for `chopimage` and `cropimage` might only be the next
step …
 [2018-02-01 22:38 UTC] chris dot bjerken at columbian dot com
Good point. Let me ask you this - with that in mind, why was or any other dummy pages made in the first place?
 [2018-02-02 03:21 UTC]
How about instead a See Also link to this page:

Is added to this page:

Does this seem reasonable?

As for delete(), it was created long ago (in the 90's) by, well, probably gnomes.
 [2018-02-02 16:19 UTC] chris dot bjerken at columbian dot com
I think that sounds like a good suggestion.
 [2018-02-05 20:38 UTC]
Automatic comment from SVN on behalf of salathe
Log: link to imagecropauto from Imagick::trimImage() (doc bug #75898)
 [2018-02-05 20:39 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2018-02-05 20:39 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2018-02-05 20:40 UTC]
Boo, that was the wrong canned message, which should have said:

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.

Thanks again!
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 19:01:30 2024 UTC