<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GD Graphics Library Archives - Artificial Intelligence</title>
	<atom:link href="https://www.aiuniverse.xyz/tag/gd-graphics-library/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.aiuniverse.xyz/tag/gd-graphics-library/</link>
	<description>Exploring the universe of Intelligence</description>
	<lastBuildDate>Wed, 31 Jan 2024 17:25:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How to Install GD Graphics Library on Your Local XAMPP Server</title>
		<link>https://www.aiuniverse.xyz/how-to-install-gd-graphics-library-on-your-local-xampp-server/</link>
					<comments>https://www.aiuniverse.xyz/how-to-install-gd-graphics-library-on-your-local-xampp-server/#respond</comments>
		
		<dc:creator><![CDATA[Maruti Kr.]]></dc:creator>
		<pubDate>Wed, 31 Jan 2024 17:25:22 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GD Graphics Library]]></category>
		<category><![CDATA[Graphics processing with XAMPP]]></category>
		<category><![CDATA[Image manipulation in PHP]]></category>
		<category><![CDATA[Local server setup]]></category>
		<category><![CDATA[PHP extensions]]></category>
		<category><![CDATA[PHP GD module]]></category>
		<category><![CDATA[PHP.ini configuration]]></category>
		<category><![CDATA[Web Development Tools]]></category>
		<category><![CDATA[XAMPP]]></category>
		<category><![CDATA[XAMPP server configuration]]></category>
		<guid isPermaLink="false">https://www.aiuniverse.xyz/?p=18522</guid>

					<description><![CDATA[<p>After removing the semicolon, it should look like: 4. Save Changes: Save the changes you made to the php.ini file. 5. Restart XAMPP: Start your XAMPP server <a class="read-more-link" href="https://www.aiuniverse.xyz/how-to-install-gd-graphics-library-on-your-local-xampp-server/">Read More</a></p>
<p>The post <a href="https://www.aiuniverse.xyz/how-to-install-gd-graphics-library-on-your-local-xampp-server/">How to Install GD Graphics Library on Your Local XAMPP Server</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="617" src="https://www.aiuniverse.xyz/wp-content/uploads/2024/01/image-65-1024x617.png" alt="" class="wp-image-18524" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2024/01/image-65-1024x617.png 1024w, https://www.aiuniverse.xyz/wp-content/uploads/2024/01/image-65-300x181.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2024/01/image-65-768x463.png 768w, https://www.aiuniverse.xyz/wp-content/uploads/2024/01/image-65.png 1440w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ol class="wp-block-list">
<li><strong>Stop XAMPP Server:</strong> Make sure your XAMPP server is stopped before you proceed with the installation.</li>



<li><strong>Locate PHP.ini File:</strong> Locate the <code>php.ini</code> configuration file for your XAMPP server. The file is usually located in the <code>xampp\php</code> directory. Open it in a text editor.</li>



<li><strong>Enable GD Extension:</strong> Find the following line in the <code>php.ini</code> file and remove the semicolon (<code>;</code>) at the beginning to uncomment it:</li>
</ol>



<pre class="wp-block-code"><code>;extension=gd</code></pre>



<p>After removing the semicolon, it should look like:</p>



<pre class="wp-block-code"><code>extension=gd</code></pre>



<p>4. <strong>Save Changes:</strong> Save the changes you made to the <code>php.ini</code> file.</p>



<p>5. <strong>Restart XAMPP:</strong> Start your XAMPP server again to apply the changes.</p>



<p>6. <strong>Verify Installation:</strong> You can verify if the GD library is successfully installed by creating a PHP file with the following content:</p>



<pre class="wp-block-code"><code>&lt;?php
phpinfo();
?></code></pre>



<p>Save this file in your XAMPP <code>htdocs</code> directory with a <code>.php</code> extension, for example, <code>gd_test.php</code>. Open this file in your web browser (e.g., <a>http://localhost/gd_test.php</a>) and search for the GD section in the PHP information. If the GD library is installed, you should see relevant information about the GD module.</p>



<p>Additionally, you can create a simple image manipulation script to test GD functionality. For example:</p>



<pre class="wp-block-code"><code>&lt;?php
// Create a blank image with dimensions 200x200
$image = imagecreatetruecolor(200, 200);

// Set the background color to white
$white = imagecolorallocate($image, 255, 255, 255);
imagefill($image, 0, 0, $white);

// Set the text color to black
$black = imagecolorallocate($image, 0, 0, 0);

// Add text to the image
imagestring($image, 5, 50, 90, 'GD Library Test', $black);

// Display the image
header('Content-Type: image/png');
imagepng($image);

// Free up memory
imagedestroy($image);
?></code></pre>



<p>Save this script in your <code>htdocs</code> directory and open it in your browser. If the GD library is working correctly, it should generate and display an image with text.</p>



<p>That&#8217;s it! You have successfully installed and configured the GD graphics library on your local XAMPP server.</p>
<p>The post <a href="https://www.aiuniverse.xyz/how-to-install-gd-graphics-library-on-your-local-xampp-server/">How to Install GD Graphics Library on Your Local XAMPP Server</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiuniverse.xyz/how-to-install-gd-graphics-library-on-your-local-xampp-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
