Doc #75898 [Opn]: suggestion for imagecropauto() function

From: Date: Fri, 02 Feb 2018 16:19:41 +0000
Subject: Doc #75898 [Opn]: suggestion for imagecropauto() function
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15408@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75898&edit=1

 ID:                 75898
 User updated by:    chris dot bjerken at columbian dot com
 Reported by:        chris dot bjerken at columbian dot com
 Summary:            suggestion for imagecropauto() function
 Status:             Open
 Type:               Documentation Problem
 Package:            GD related
 PHP Version:        7.2.1
 Block user comment: N
 Private report:     N

 New Comment:

I think that sounds like a good suggestion.


Previous Comments:
------------------------------------------------------------------------
[2018-02-02 03:21:47] philip@php.net

How about instead a See Also link to this page:

  http://php.net/manual/en/function.imagecropauto.php

Is added to this page:

  http://php.net/manual/en/imagick.trimimage.php

Does this seem reasonable?

As for delete(), it was created long ago (in the 90's) by, well, probably gnomes.

------------------------------------------------------------------------
[2018-02-01 22:38:02] chris dot bjerken at columbian dot com

Good point. Let me ask you this - with that in mind, why was http://php.net/manual/en/function.delete.php
or any other dummy pages made in the first place?

------------------------------------------------------------------------
[2018-02-01 22:28:53] cmb@php.net

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-01-31 22:25:06] chris dot bjerken at columbian dot com

Description:
------------
---
From manual page: http://www.php.net/function.imagecropauto
---

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 http://php.net/manual/en/function.delete.php
is a dummy page to direct people to the doc page for unlink.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=75898&edit=1


Thread (7 messages)

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