<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/gd</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 13:42:30 GMT</pubDate>
<item>
<title>(ActionScript) GD with Pink hair Cursor - gdbaby</title>
<link>http://snipplr.com/view/66405/gd-with-pink-hair-cursor/</link>
<description><![CDATA[ <p>GD with pink hair Cursor!</p> ]]></description>
<pubDate>Sun, 29 Jul 2012 17:21:39 GMT</pubDate>
<guid>http://snipplr.com/view/66405/gd-with-pink-hair-cursor/</guid>
</item>
<item>
<title>(ActionScript) GD cursor - gdbaby</title>
<link>http://snipplr.com/view/66404/gd-cursor/</link>
<description><![CDATA[ <p>GD cursor</p> ]]></description>
<pubDate>Sun, 29 Jul 2012 16:51:48 GMT</pubDate>
<guid>http://snipplr.com/view/66404/gd-cursor/</guid>
</item>
<item>
<title>(ActionScript) G-Dragon apple cursor - gdbaby</title>
<link>http://snipplr.com/view/66383/gdragon-apple-cursor/</link>
<description><![CDATA[ <p>gdragon apple cursor</p> ]]></description>
<pubDate>Sat, 28 Jul 2012 13:10:19 GMT</pubDate>
<guid>http://snipplr.com/view/66383/gdragon-apple-cursor/</guid>
</item>
<item>
<title>(ActionScript) G-Dragon Cursor - gdbaby</title>
<link>http://snipplr.com/view/66382/gdragon-cursor/</link>
<description><![CDATA[ <p>G-Dragon cursor</p> ]]></description>
<pubDate>Sat, 28 Jul 2012 12:58:43 GMT</pubDate>
<guid>http://snipplr.com/view/66382/gdragon-cursor/</guid>
</item>
<item>
<title>(ActionScript) Bigbang VIP tumblr cursor - gdbaby</title>
<link>http://snipplr.com/view/66351/bigbang-vip-tumblr-cursor/</link>
<description><![CDATA[ <p>VIP cursor</p> ]]></description>
<pubDate>Thu, 26 Jul 2012 19:55:29 GMT</pubDate>
<guid>http://snipplr.com/view/66351/bigbang-vip-tumblr-cursor/</guid>
</item>
<item>
<title>(PHP) Pie/Bar Chart Generator - jatkins</title>
<link>http://snipplr.com/view/63709/piebar-chart-generator/</link>
<description><![CDATA[ <p>Released under the MIT license by Josh Atkins.
Requires [Antialiased filled Arcs/Ellipses for PHP](http://mierendo.com/software/antialiased_arcs/) by Ulrich Mierendorff (also under the MIT license).</p> ]]></description>
<pubDate>Sun, 04 Mar 2012 16:59:52 GMT</pubDate>
<guid>http://snipplr.com/view/63709/piebar-chart-generator/</guid>
</item>
<item>
<title>(PHP) PHP GD Thumbnail Generator 0.1 - dillonchr</title>
<link>http://snipplr.com/view/57111/php-gd-thumbnail-generator-01/</link>
<description><![CDATA[ <p>Tweaked from the icant.co.uk thumbnail generator</p> ]]></description>
<pubDate>Mon, 25 Jul 2011 14:39:36 GMT</pubDate>
<guid>http://snipplr.com/view/57111/php-gd-thumbnail-generator-01/</guid>
</item>
<item>
<title>(PHP) Image Scaling within Limits (max height, max width) - dblack</title>
<link>http://snipplr.com/view/53183/image-scaling-within-limits-max-height-max-width/</link>
<description><![CDATA[ <p>This is a much cleaner way to do this than the number of examples on the web.  Every example I saw seemed to account for orientation  - horizontal vs. vertical vs. square when looking at the input.  This ignores horizontal and vertical by mapping the "long side" and "short side" and then re-mapping the variables to $h / $w at the end.</p> ]]></description>
<pubDate>Sat, 07 May 2011 10:52:08 GMT</pubDate>
<guid>http://snipplr.com/view/53183/image-scaling-within-limits-max-height-max-width/</guid>
</item>
<item>
<title>(PHP) GD Resize Crop - toreskog</title>
<link>http://snipplr.com/view/50539/gd-resize-crop/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 11 Mar 2011 19:08:32 GMT</pubDate>
<guid>http://snipplr.com/view/50539/gd-resize-crop/</guid>
</item>
<item>
<title>(PHP) Photoshop Like "Offset" Function - Jamie</title>
<link>http://snipplr.com/view/42862/photoshop-like-offset-function/</link>
<description><![CDATA[ <p>This code war written for a project I'm working on where a map of the world may need to be offset to center the view on specific areas. I'm also using it as a part of an iterative blur function to prevent seams from the blur operation.

I would like to eventually tweak the function to receive both X &amp; Y values for the offset command, but am a tad lazy right now on this fine Sunday afternoon.</p> ]]></description>
<pubDate>Mon, 25 Oct 2010 07:17:03 GMT</pubDate>
<guid>http://snipplr.com/view/42862/photoshop-like-offset-function/</guid>
</item>
<item>
<title>(PHP) Object Oriented Image Manipulation - dom111</title>
<link>http://snipplr.com/view/40519/object-oriented-image-manipulation/</link>
<description><![CDATA[ <p>I’ve been working on a CMS lately and having to create thumbnails for uploaded images is always a pain, lots of maths working out the correct sizes and such, so I’ve created a fairly small script to manipulate images in an object-oriented style.</p> ]]></description>
<pubDate>Wed, 15 Sep 2010 19:54:04 GMT</pubDate>
<guid>http://snipplr.com/view/40519/object-oriented-image-manipulation/</guid>
</item>
<item>
<title>(PHP) Auto-generate thumbnail in equivalent location (unless one has been manually created) - Kit</title>
<link>http://snipplr.com/view/21592/autogenerate-thumbnail-in-equivalent-location-unless-one-has-been-manually-created/</link>
<description><![CDATA[ <p>Not particularly novel, but quite clean. Allows you to put images in any location on the server and saves having to generate thumbnails at upload time.

The URL to this file should be:

`//`

Valid request types:

* `view` — View the image full-size (don't scale)
* `preview` — View the image at a medium scale
* `thumb` — Show a thumbnail of the image

Images can be JPEGs or PNGs. Broken URLs redirect to a designated 404 image.

Thumbnails and previews will be stored using an identical folder hierarchy inside the `thumbnails` and `previews` folders inside the images folder.</p> ]]></description>
<pubDate>Thu, 22 Oct 2009 01:22:21 GMT</pubDate>
<guid>http://snipplr.com/view/21592/autogenerate-thumbnail-in-equivalent-location-unless-one-has-been-manually-created/</guid>
</item>
<item>
<title>(Bash) Install PHP + GD  on Mac OS X Leopard - terrencewood</title>
<link>http://snipplr.com/view/13763/install-php--gd--on-mac-os-x-leopard/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 04 Apr 2009 07:39:32 GMT</pubDate>
<guid>http://snipplr.com/view/13763/install-php--gd--on-mac-os-x-leopard/</guid>
</item>
<item>
<title>(PHP) image wrapper class using gd library - iTony</title>
<link>http://snipplr.com/view/9933/image-wrapper-class-using-gd-library/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Nov 2008 01:49:55 GMT</pubDate>
<guid>http://snipplr.com/view/9933/image-wrapper-class-using-gd-library/</guid>
</item>
<item>
<title>(PHP) How to Resize an Image Using PHP - Image Resizing Script - andyhartleeds</title>
<link>http://snipplr.com/view/5590/how-to-resize-an-image-using-php--image-resizing-script/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 28 Mar 2008 09:44:35 GMT</pubDate>
<guid>http://snipplr.com/view/5590/how-to-resize-an-image-using-php--image-resizing-script/</guid>
</item>
<item>
<title>(PHP) Convert HEX to RGB &amp;amp; RGB to HEX - Cory</title>
<link>http://snipplr.com/view/4621/convert-hex-to-rgb--rgb-to-hex/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Jan 2008 20:27:43 GMT</pubDate>
<guid>http://snipplr.com/view/4621/convert-hex-to-rgb--rgb-to-hex/</guid>
</item>
<item>
<title>(PHP) Image Thumbnail with GD &amp;amp; GET vars - iloveitaly</title>
<link>http://snipplr.com/view/2675/image-thumbnail-with-gd--get-vars/</link>
<description><![CDATA[ <p>example: thumb.php?p=image.jpg&amp;s=45</p> ]]></description>
<pubDate>Sat, 19 May 2007 11:32:35 GMT</pubDate>
<guid>http://snipplr.com/view/2675/image-thumbnail-with-gd--get-vars/</guid>
</item>
<item>
<title>(PHP) function thumb - oso96_2000</title>
<link>http://snipplr.com/view/2158/function-thumb/</link>
<description><![CDATA[ <p>With this function you can make a thumbnail from an image.
Usage:
$image = "something.jpg";
thumb($image, 100, 100);

It can be easy modified to accept other types of images, actually only support jpeg, gif and png. Gif images lost their animation, and png or gif image lost their transparency.</p> ]]></description>
<pubDate>Sun, 11 Feb 2007 22:45:28 GMT</pubDate>
<guid>http://snipplr.com/view/2158/function-thumb/</guid>
</item>
<item>
<title>(PHP) text2image - mikeejay</title>
<link>http://snipplr.com/view/1464/text2image/</link>
<description><![CDATA[ <p>Put contents in a file called for example "button.php".
instead of using filename.png in the img tag,  use button.php?text=buttontext</p> ]]></description>
<pubDate>Wed, 25 Oct 2006 11:16:47 GMT</pubDate>
<guid>http://snipplr.com/view/1464/text2image/</guid>
</item>
<item>
<title>(PHP) Create a thumbnail maintaining aspect ratio using GD - mthorn</title>
<link>http://snipplr.com/view/753/create-a-thumbnail-maintaining-aspect-ratio-using-gd/</link>
<description><![CDATA[ <p>Will create a thumnail no taller or wider than the supplied size. Also contains some tips for reading and writing images using GD.</p> ]]></description>
<pubDate>Wed, 09 Aug 2006 04:57:21 GMT</pubDate>
<guid>http://snipplr.com/view/753/create-a-thumbnail-maintaining-aspect-ratio-using-gd/</guid>
</item>
</channel>
</rss>