<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>sastgroup.com</title>
	
	<link>http://www.sastgroup.com</link>
	<description>Tutorials guide scripts su flash php javascript dhtml programmazione web tool</description>
	<lastBuildDate>Tue, 10 Nov 2009 11:00:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Sastgroupcom" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Creare uno sfondo natalizio utilizzando Photoshop!</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/2TXYL690ji0/creare-uno-sfondo-natalizio-utilizzando-photoshop</link>
		<comments>http://www.sastgroup.com/tutorials/creare-uno-sfondo-natalizio-utilizzando-photoshop#comments</comments>
		<pubDate>Tue, 10 Nov 2009 11:00:19 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3757</guid>
		<description><![CDATA[<p><a href="http://www.sastgroup.com/images/80.jpg"><img class="alignnone size-full wp-image-3756" title="80" src="http://www.sastgroup.com/images/80.jpg" alt="80" width="420" height="263" /></a></p>
<p>In questo tutorial, attraverso semplici passaggi, imparerete come creare uno sfondo natalizio come quello che vedete sopra.</p>
<p>Link al tutorial: <a href="http://www.adobetutorialz.com/articles/30970107/1/Create-a-Christmas-design-using-Photoshop" target="_blank">http://www.adobetutorialz.com/articles/30970107/1/Create-a-Christmas-design-using-Photoshop</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sastgroup.com/images/80.jpg"><img class="alignnone size-full wp-image-3756" title="80" src="http://www.sastgroup.com/images/80.jpg" alt="80" width="420" height="263" /></a></p>
<p>In questo tutorial, attraverso semplici passaggi, imparerete come creare uno sfondo natalizio come quello che vedete sopra.</p>
<p>Link al tutorial: <a href="http://www.adobetutorialz.com/articles/30970107/1/Create-a-Christmas-design-using-Photoshop" target="_blank">http://www.adobetutorialz.com/articles/30970107/1/Create-a-Christmas-design-using-Photoshop</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/tutorials/creare-uno-sfondo-natalizio-utilizzando-photoshop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/tutorials/creare-uno-sfondo-natalizio-utilizzando-photoshop</feedburner:origLink></item>
		<item>
		<title>Creare una mappa ingrandibile e interattiva con jQuery!</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/Tz1UaTK4Jwc/creare-una-mappa-ingrandibile-e-interattiva-con-jquery</link>
		<comments>http://www.sastgroup.com/links/creare-una-mappa-ingrandibile-e-interattiva-con-jquery#comments</comments>
		<pubDate>Tue, 10 Nov 2009 10:00:03 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3753</guid>
		<description><![CDATA[<p><a href="http://www.sastgroup.com/images/jquery-maps.jpg"><img class="alignnone size-full wp-image-3754" title="jquery-maps" src="http://www.sastgroup.com/images/jquery-maps.jpg" alt="jquery-maps" width="480" height="306" /></a></p>
<p>NMC ha scritto un plugin per jQuery che riesce ad effettuare uno zoom sulle mappe e al click in una determinata posizione (indicata con un marker colorato) sarà possibile leggere le informazioni!</p>
<p>Link al tutorial: <a href="http://www.newmediacampaigns.com/page/a-jquery-plugin-for-zoomable-interactive-maps" target="_blank">http://www.newmediacampaigns.com/page/a-jquery-plugin-for-zoomable-interactive-maps</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sastgroup.com/images/jquery-maps.jpg"><img class="alignnone size-full wp-image-3754" title="jquery-maps" src="http://www.sastgroup.com/images/jquery-maps.jpg" alt="jquery-maps" width="480" height="306" /></a></p>
<p>NMC ha scritto un plugin per jQuery che riesce ad effettuare uno zoom sulle mappe e al click in una determinata posizione (indicata con un marker colorato) sarà possibile leggere le informazioni!</p>
<p>Link al tutorial: <a href="http://www.newmediacampaigns.com/page/a-jquery-plugin-for-zoomable-interactive-maps" target="_blank">http://www.newmediacampaigns.com/page/a-jquery-plugin-for-zoomable-interactive-maps</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/links/creare-una-mappa-ingrandibile-e-interattiva-con-jquery/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/links/creare-una-mappa-ingrandibile-e-interattiva-con-jquery</feedburner:origLink></item>
		<item>
		<title>Tagliare un mazzo di carte con PHP</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/S3DNkJxM07M/tagliare-un-mazzo-di-carte-con-php</link>
		<comments>http://www.sastgroup.com/tutorials/tagliare-un-mazzo-di-carte-con-php#comments</comments>
		<pubDate>Tue, 10 Nov 2009 09:00:09 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3751</guid>
		<description><![CDATA[<p>Con questo script è possibile tagliare un mazzo di carte, per fare questo costruiremo una classe che lavorerà con gli array!</p>
<pre class="php">&#160;
&#60; ?php
&#160;
<span style="color: #808080; font-style: italic;">/***
*
* A simple class to cut a deck of cards
* @author     Kevin Waterson &#60;kevin@phpro.org&#62;
* @copyright  2006 EMS PHPro
* @version    CVS: $Id:$
* @since      Class available since Release 1.0.0
&#160;
* Example use
*
* $cards = new cards;
* echo $cards-&#62;cut();
*
*/</span>
&#160;
<span style="color: #000000; font-weight: bold;">class</span> cards<span style="color: #66cc66;">&#123;</span>
&#160;
<span style="color: #808080; font-style: italic;">/**
*
* Declare our deck variable
*
*/</span>
<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #0000ff;">$deck</span>;
&#160;
<span style="color: #808080; font-style: italic;">/**
*
* Constructor.. duh!
*
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
&#160;
  <span style="color: #808080; font-style: italic;">/*** set the deck array variable ***/</span>
  <span style="color: #0000ff;">$this</span>-&#62;<span style="color: #006600;">deck</span>=<span style="color: #0000ff;">$this</span>-&#62;<span style="color: #006600;">setDeck</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&#160;
<span style="color: #808080; font-style: italic;">/**
*
* Function set Deck
*
* @access private
*
*&#8230;</span></pre>]]></description>
			<content:encoded><![CDATA[<p>Con questo script è possibile tagliare un mazzo di carte, per fare questo costruiremo una classe che lavorerà con gli array!</p>
<pre class="php">&nbsp;
&lt; ?php
&nbsp;
<span style="color: #808080; font-style: italic;">/***
*
* A simple class to cut a deck of cards
* @author     Kevin Waterson &lt;kevin@phpro.org&gt;
* @copyright  2006 EMS PHPro
* @version    CVS: $Id:$
* @since      Class available since Release 1.0.0
&nbsp;
* Example use
*
* $cards = new cards;
* echo $cards-&gt;cut();
*
*/</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">class</span> cards<span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
*
* Declare our deck variable
*
*/</span>
<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #0000ff;">$deck</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">/**
*
* Constructor.. duh!
*
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
&nbsp;
  <span style="color: #808080; font-style: italic;">/*** set the deck array variable ***/</span>
  <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">deck</span>=<span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setDeck</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
*
* Function set Deck
*
* @access private
*
* @return array
*
*/</span>
<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">function</span> setDeck<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">return</span> <a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;ah&quot;</span>, <span style="color: #ff0000;">&quot;ac&quot;</span>, <span style="color: #ff0000;">&quot;ad&quot;</span>, <span style="color: #ff0000;">&quot;as&quot;</span>,
               <span style="color: #ff0000;">&quot;2h&quot;</span>, <span style="color: #ff0000;">&quot;2c&quot;</span>, <span style="color: #ff0000;">&quot;2d&quot;</span>, <span style="color: #ff0000;">&quot;2s&quot;</span>,
               <span style="color: #ff0000;">&quot;3h&quot;</span>, <span style="color: #ff0000;">&quot;3c&quot;</span>, <span style="color: #ff0000;">&quot;3d&quot;</span>, <span style="color: #ff0000;">&quot;3s&quot;</span>,
               <span style="color: #ff0000;">&quot;4h&quot;</span>, <span style="color: #ff0000;">&quot;4c&quot;</span>, <span style="color: #ff0000;">&quot;4d&quot;</span>, <span style="color: #ff0000;">&quot;4s&quot;</span>,
               <span style="color: #ff0000;">&quot;5h&quot;</span>, <span style="color: #ff0000;">&quot;5c&quot;</span>, <span style="color: #ff0000;">&quot;5d&quot;</span>, <span style="color: #ff0000;">&quot;5s&quot;</span>,
               <span style="color: #ff0000;">&quot;6h&quot;</span>, <span style="color: #ff0000;">&quot;6c&quot;</span>, <span style="color: #ff0000;">&quot;6d&quot;</span>, <span style="color: #ff0000;">&quot;6s&quot;</span>,
               <span style="color: #ff0000;">&quot;7h&quot;</span>, <span style="color: #ff0000;">&quot;7c&quot;</span>, <span style="color: #ff0000;">&quot;7d&quot;</span>, <span style="color: #ff0000;">&quot;7s&quot;</span>,
               <span style="color: #ff0000;">&quot;8h&quot;</span>, <span style="color: #ff0000;">&quot;8c&quot;</span>, <span style="color: #ff0000;">&quot;8d&quot;</span>, <span style="color: #ff0000;">&quot;8s&quot;</span>,
               <span style="color: #ff0000;">&quot;9h&quot;</span>, <span style="color: #ff0000;">&quot;9c&quot;</span>, <span style="color: #ff0000;">&quot;9d&quot;</span>, <span style="color: #ff0000;">&quot;9s&quot;</span>,
               <span style="color: #ff0000;">&quot;th&quot;</span>, <span style="color: #ff0000;">&quot;tc&quot;</span>, <span style="color: #ff0000;">&quot;td&quot;</span>, <span style="color: #ff0000;">&quot;ts&quot;</span>,
               <span style="color: #ff0000;">&quot;jh&quot;</span>, <span style="color: #ff0000;">&quot;jc&quot;</span>, <span style="color: #ff0000;">&quot;jd&quot;</span>, <span style="color: #ff0000;">&quot;js&quot;</span>,
               <span style="color: #ff0000;">&quot;qh&quot;</span>, <span style="color: #ff0000;">&quot;qc&quot;</span>, <span style="color: #ff0000;">&quot;qd&quot;</span>, <span style="color: #ff0000;">&quot;qs&quot;</span>,
               <span style="color: #ff0000;">&quot;kh&quot;</span>, <span style="color: #ff0000;">&quot;kc&quot;</span>, <span style="color: #ff0000;">&quot;kd&quot;</span>, <span style="color: #ff0000;">&quot;ks&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
*
* Function get Key get the array key
*
* @access private
*
* @return INT
*
*/</span>
<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">function</span> getKey<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
  <a href="http://www.php.net/shuffle"><span style="color: #000066;">shuffle</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">deck</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #b1b100;">return</span> <a href="http://www.php.net/array_rand"><span style="color: #000066;">array_rand</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">deck</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
*
* @Function cut, get the value of the array key
*
* @access public
*
* @return string
*
*/</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> cut<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">deck</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">getKey</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #66cc66;">&#125;</span> <span style="color: #808080; font-style: italic;">/*** end of class ***/</span>
&nbsp;
<span style="color: #0000ff;">$cards</span> = <span style="color: #000000; font-weight: bold;">new</span> cards;
<a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #0000ff;">$cards</span>-&gt;<span style="color: #006600;">cut</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/tutorials/tagliare-un-mazzo-di-carte-con-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/tutorials/tagliare-un-mazzo-di-carte-con-php</feedburner:origLink></item>
		<item>
		<title>[jQuery] Trascinare un contenuto per condividerlo sui principali social network!</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/zRvL-geqD7k/jquery-trascinare-un-contenuto-per-condividerlo-sui-principali-social-network</link>
		<comments>http://www.sastgroup.com/links/jquery-trascinare-un-contenuto-per-condividerlo-sui-principali-social-network#comments</comments>
		<pubDate>Mon, 09 Nov 2009 11:00:48 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3748</guid>
		<description><![CDATA[<p><a href="http://www.sastgroup.com/images/20thoct0906.png"><img class="alignnone size-full wp-image-3749" title="20thoct0906" src="http://www.sastgroup.com/images/20thoct0906.png" alt="20thoct0906" width="290" height="94" /></a></p>
<p>Nell'esempio che vedrete, trascinando l'immagine sarà possibile condividerla nei principali social network!</p>
<p>Link: <a href="http://nettuts.s3.amazonaws.com/467_dragtoShare/source/dragToShare.html" target="_blank">http://nettuts.s3.amazonaws.com/467_dragtoShare/source/dragToShare.html</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sastgroup.com/images/20thoct0906.png"><img class="alignnone size-full wp-image-3749" title="20thoct0906" src="http://www.sastgroup.com/images/20thoct0906.png" alt="20thoct0906" width="290" height="94" /></a></p>
<p>Nell'esempio che vedrete, trascinando l'immagine sarà possibile condividerla nei principali social network!</p>
<p>Link: <a href="http://nettuts.s3.amazonaws.com/467_dragtoShare/source/dragToShare.html" target="_blank">http://nettuts.s3.amazonaws.com/467_dragtoShare/source/dragToShare.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/links/jquery-trascinare-un-contenuto-per-condividerlo-sui-principali-social-network/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/links/jquery-trascinare-un-contenuto-per-condividerlo-sui-principali-social-network</feedburner:origLink></item>
		<item>
		<title>Creare un effetto Leopard con Photoshop!</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/poFEfuA5wkQ/creare-un-effetto-leopard-con-photoshop</link>
		<comments>http://www.sastgroup.com/tutorials/creare-un-effetto-leopard-con-photoshop#comments</comments>
		<pubDate>Mon, 09 Nov 2009 10:00:08 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3745</guid>
		<description><![CDATA[<p><a href="http://www.sastgroup.com/images/a_tuto_final.jpg"><img class="alignnone size-full wp-image-3746" title="a_tuto_final" src="http://www.sastgroup.com/images/a_tuto_final.jpg" alt="a_tuto_final" width="450" height="282" /></a></p>
<p>Se desiderate riprodurre un effetto come quello che vedete sopra vi consiglio di seguire questo tutorial!</p>
<p>Link al tutorial: <a href="http://abduzeedo.com/leopard-starburst-effect-photoshop" target="_blank">http://abduzeedo.com/leopard-starburst-effect-photoshop</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sastgroup.com/images/a_tuto_final.jpg"><img class="alignnone size-full wp-image-3746" title="a_tuto_final" src="http://www.sastgroup.com/images/a_tuto_final.jpg" alt="a_tuto_final" width="450" height="282" /></a></p>
<p>Se desiderate riprodurre un effetto come quello che vedete sopra vi consiglio di seguire questo tutorial!</p>
<p>Link al tutorial: <a href="http://abduzeedo.com/leopard-starburst-effect-photoshop" target="_blank">http://abduzeedo.com/leopard-starburst-effect-photoshop</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/tutorials/creare-un-effetto-leopard-con-photoshop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/tutorials/creare-un-effetto-leopard-con-photoshop</feedburner:origLink></item>
		<item>
		<title>[PHP] Scrivere un testo su una immagine!</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/0UCoQL-ecaM/php-scrivere-un-testo-su-una-immagine</link>
		<comments>http://www.sastgroup.com/tutorials/php-scrivere-un-testo-su-una-immagine#comments</comments>
		<pubDate>Mon, 09 Nov 2009 09:00:17 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3743</guid>
		<description><![CDATA[<p>Questa funzione permette di scrivere un testo e di fonderlo con un'immagine esistente. Se l'immagine non esiste restituisce un'immagine con un messaggio di errore!</p>
<pre class="php">&#160;
&#60; ?php
&#160;
<span style="color: #808080; font-style: italic;">/*** set the header for the image ***/</span>
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&#34;Content-type: image/jpeg&#34;</span><span style="color: #66cc66;">&#41;</span>;
&#160;
<span style="color: #808080; font-style: italic;">/*** specify an image and text ***/</span>
<span style="color: #0000ff;">$im</span> = writeToImage<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'test.jpg'</span>, <span style="color: #ff0000;">'PHPRO rules again'</span><span style="color: #66cc66;">&#41;</span>;
&#160;
<span style="color: #808080; font-style: italic;">/*** spit the image out the other end ***/</span>
imagejpeg<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span><span style="color: #66cc66;">&#41;</span>;
&#160;
<span style="color: #808080; font-style: italic;">/**
 *
 * @Write text to an existing image
 *
 * @Author Kevin Waterson
 *
 * @access public
 *
 * @param string The image path
 *
 * @param string The text string
 *
 * @return resource
 *
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> writeToImage<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$imagefile</span>, <span style="color: #0000ff;">$text</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
<span style="color: #808080; font-style: italic;">/*** make sure the file exists ***/</span>
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/file_exists"><span style="color: #000066;">file_exists</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$imagefile</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">/*** create image ***/</span>
    <span style="color: #0000ff;">$im</span> = @imagecreatefromjpeg<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$imagefile</span><span style="color: #66cc66;">&#41;</span>;
&#160;
    <span style="color: #808080; font-style: italic;">/***&#8230;</span></pre>]]></description>
			<content:encoded><![CDATA[<p>Questa funzione permette di scrivere un testo e di fonderlo con un'immagine esistente. Se l'immagine non esiste restituisce un'immagine con un messaggio di errore!</p>
<pre class="php">&nbsp;
&lt; ?php
&nbsp;
<span style="color: #808080; font-style: italic;">/*** set the header for the image ***/</span>
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Content-type: image/jpeg&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">/*** specify an image and text ***/</span>
<span style="color: #0000ff;">$im</span> = writeToImage<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'test.jpg'</span>, <span style="color: #ff0000;">'PHPRO rules again'</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">/*** spit the image out the other end ***/</span>
imagejpeg<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">/**
 *
 * @Write text to an existing image
 *
 * @Author Kevin Waterson
 *
 * @access public
 *
 * @param string The image path
 *
 * @param string The text string
 *
 * @return resource
 *
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> writeToImage<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$imagefile</span>, <span style="color: #0000ff;">$text</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
<span style="color: #808080; font-style: italic;">/*** make sure the file exists ***/</span>
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/file_exists"><span style="color: #000066;">file_exists</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$imagefile</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">/*** create image ***/</span>
    <span style="color: #0000ff;">$im</span> = @imagecreatefromjpeg<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$imagefile</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">/*** create the text color ***/</span>
    <span style="color: #0000ff;">$text_color</span> = imagecolorallocate<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span>, <span style="color: #cc66cc;">233</span>, <span style="color: #cc66cc;">14</span>, <span style="color: #cc66cc;">91</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">/*** splatter the image with text ***/</span>
    imagestring<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span>, <span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">25</span>, <span style="color: #cc66cc;">150</span>,  <span style="color: #ff0000;">&quot;$text&quot;</span>, <span style="color: #0000ff;">$text_color</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span>
    <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">/*** if the file does not exist we will create our own image ***/</span>
    <span style="color: #808080; font-style: italic;">/*** Create a black image ***/</span>
    <span style="color: #0000ff;">$im</span>  = imagecreatetruecolor<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">150</span>, <span style="color: #cc66cc;">30</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">/* Create a black image */</span>
&nbsp;
    <span style="color: #808080; font-style: italic;">/*** the background color ***/</span>
    <span style="color: #0000ff;">$bgc</span> = imagecolorallocate<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span>, <span style="color: #cc66cc;">255</span>, <span style="color: #cc66cc;">255</span>, <span style="color: #cc66cc;">255</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">/*** the text color ***/</span>
    <span style="color: #0000ff;">$tc</span>  = imagecolorallocate<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">/*** a little rectangle ***/</span>
    imagefilledrectangle<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">150</span>, <span style="color: #cc66cc;">30</span>, <span style="color: #0000ff;">$bgc</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">/*** output and error message ***/</span>
    imagestring<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$im</span>, <span style="color: #cc66cc;">1</span>, <span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">5</span>, <span style="color: #ff0000;">&quot;Error loading $imagefile&quot;</span>, <span style="color: #0000ff;">$tc</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$im</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/tutorials/php-scrivere-un-testo-su-una-immagine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/tutorials/php-scrivere-un-testo-su-una-immagine</feedburner:origLink></item>
		<item>
		<title>Applicare texture di fusione sulle vostre immagini!</title>
		<link>http://feedproxy.google.com/~r/Sastgroupcom/~3/avnik9byTQs/applicare-texture-di-fusione-sulle-vostre-immagini</link>
		<comments>http://www.sastgroup.com/tutorials/applicare-texture-di-fusione-sulle-vostre-immagini#comments</comments>
		<pubDate>Sun, 08 Nov 2009 11:00:52 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.sastgroup.com/?p=3740</guid>
		<description><![CDATA[<p><a href="http://www.sastgroup.com/images/blending-11.jpg"><img class="alignnone size-large wp-image-3741" title="blending-11" src="http://www.sastgroup.com/images/blending-11-682x1024.jpg" alt="blending-11" width="409" height="614" /></a></p>
<p>Se volete applicare una texture alle vostre immagini come quella che vedete sopra seguite il tutorial che vi proponiamo oggi!</p>
<p>Link al tutorial: <a href="http://www.digidiversity.co.uk/2009/09/texture-layer-blending/" target="_blank">http://www.digidiversity.co.uk/2009/09/texture-layer-blending/</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sastgroup.com/images/blending-11.jpg"><img class="alignnone size-large wp-image-3741" title="blending-11" src="http://www.sastgroup.com/images/blending-11-682x1024.jpg" alt="blending-11" width="409" height="614" /></a></p>
<p>Se volete applicare una texture alle vostre immagini come quella che vedete sopra seguite il tutorial che vi proponiamo oggi!</p>
<p>Link al tutorial: <a href="http://www.digidiversity.co.uk/2009/09/texture-layer-blending/" target="_blank">http://www.digidiversity.co.uk/2009/09/texture-layer-blending/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sastgroup.com/tutorials/applicare-texture-di-fusione-sulle-vostre-immagini/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sastgroup.com/tutorials/applicare-texture-di-fusione-sulle-vostre-immagini</feedburner:origLink></item>
	<media:rating>nonadult</media:rating></channel>
</rss><!-- Dynamic page generated in 0.511 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-10 13:01:29 -->
