[doc-en] master: Replace LibGD documentation URL (#5919)
| From: | Pete Cooper via GitHub | Date: | Thu, 08 Oct 2026 16:42:47 +0000 |
| Subject: | [doc-en] master: Replace LibGD documentation URL (#5919) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23821@lists.php.net to get a copy of this message | ||
Author: Pete Cooper (petecooper)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-10-08T18:42:43+02:00
Commit: https://github.com/php/doc-en/commit/0e7d85e03499b1472087d5243d49340744794e5c
Raw diff: https://github.com/php/doc-en/commit/0e7d85e03499b1472087d5243d49340744794e5c.diff
Replace LibGD documentation URL (#5919)
* http://www.libgd.org -> https://libgd.github.io/
Previous domain has lapsed and currently bounces to commercial website unrelated to libgd or PHP.
* Current landing page for GD and GD2 image type.
Ping https://github.com/php/doc-en/pull/5919
Changed paths:
M entities/entities.url.ent
M reference/image/functions/imagegd.xml
M reference/image/functions/imagegd2.xml
M reference/image/functions/imagegrabwindow.xml
Diff:
diff --git a/entities/entities.url.ent b/entities/entities.url.ent
index 76b8e6cb3d90..6ecad3f4e9bf 100644
--- a/entities/entities.url.ent
+++ b/entities/entities.url.ent
@@ -142,7 +142,7 @@ URLs, other addresses and external references.
<entity name="url.freetds">http://www.freetds.org/</entity>
<entity name="url.freetype">http://www.freetype.org/</entity>
<entity name="url.gc-paper">https://pages.cs.wisc.edu/~cymen/misc/interests/Bacon01Concurrent.pdf</entity>
-<entity name="url.gd">http://www.libgd.org/</entity>
+<entity name="url.gd">https://libgd.github.io</entity>
<entity name="url.gdbm">https://ftp.gnu.org/pub/gnu/gdbm/</entity>
<entity name="url.gearman">http://gearman.org</entity>
<entity name="url.gearman.libgearman">http://gearman.org/getting-started/</entity>
diff --git a/reference/image/functions/imagegd.xml b/reference/image/functions/imagegd.xml
index 26f04f043a8a..5542305a5eee 100644
--- a/reference/image/functions/imagegd.xml
+++ b/reference/image/functions/imagegd.xml
@@ -102,7 +102,7 @@ $text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
// Save the gd image
-// The file format for GD images is .gd, see http://www.libgd.org/GdFileFormats
+// The file format for GD images is .gd, see https://libgd.github.io/manuals/2.3.3/files/gd_gd-c.html
imagegd($im, 'simple.gd');
?>
]]>
diff --git a/reference/image/functions/imagegd2.xml b/reference/image/functions/imagegd2.xml
index 4630c8e53cde..d9d55eda386f 100644
--- a/reference/image/functions/imagegd2.xml
+++ b/reference/image/functions/imagegd2.xml
@@ -113,7 +113,7 @@ $text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
// Save the gd2 image
-// The file format for GD2 images is .gd2, see http://www.libgd.org/GdFileFormats
+// The file format for GD2 images is .gd2, see https://libgd.github.io/manuals/2.3.3/files/gd_gd-c.html
imagegd2($im, 'simple.gd2');
?>
]]>
diff --git a/reference/image/functions/imagegrabwindow.xml
b/reference/image/functions/imagegrabwindow.xml
index c0b556614a16..ccc47b155fd7 100644
--- a/reference/image/functions/imagegrabwindow.xml
+++ b/reference/image/functions/imagegrabwindow.xml
@@ -122,7 +122,7 @@ imagepng($im, "iesnap.png");
$browser = new COM("InternetExplorer.Application");
$handle = $browser->HWND;
$browser->Visible = true;
-$browser->Navigate("http://www.libgd.org");
+$browser->Navigate("https://libgd.github.io");
/* Still working? */
while ($browser->Busy) {