<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Chevereto Forums - Marca de Agua]]></title>
	<link rel="self" href="http://chevereto.com/forums/feed-atom-topic58.xml"/>
	<updated>2009-12-09T06:17:11Z</updated>
	<generator>PunBB</generator>
	<id>http://chevereto.com/forums/topic58-marca-de-agua.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post2035.html#p2035"/>
			<content type="html"><![CDATA[<p>alguien tiene el script como para ir viendo los codigos?<br />el unicocodigo que encontre fue este:</p><br /><br /><p>&lt;?php</p><p>$image = $_GET[&#039;i&#039;];<br />$watermark = &quot;water.png&quot;;</p><p>$im = imagecreatefrompng($watermark);</p><p>$ext = substr($image, -3);</p> <br /><p>if(strtolower($ext) == &quot;gif&quot;) {<br />if (!$im2 = imagecreatefromgif($image)) {<br />echo &quot;Error opening $image!&quot;; exit;<br />}<br />} else if(strtolower($ext) == &quot;jpg&quot;) {<br />if (!$im2 = imagecreatefromjpeg($image)) {<br />echo &quot;Error opening $image!&quot;; exit;<br />}<br />} else if(strtolower($ext) == &quot;png&quot;) {<br />if (!$im2 = imagecreatefrompng($image)) {<br />echo &quot;Error opening $image!&quot;; exit;<br />}<br />} else {<br />die;<br />}</p><p>imagecopy($im2, $im, (imagesx($im2)/2)-(imagesx($im)/2), (imagesy($im2)/2)-(imagesy($im)/2), 0, 0, imagesx($im), imagesy($im));</p><p>if($_GET[repeat]) {<br />$waterless = imagesx($im2) - imagesx($im);<br />$rest = ceil($waterless/imagesx($im)/2);</p><p>for($n=1; $n&lt;=$rest; $n++) {<br />imagecopy($im2, $im, ((imagesx($im2)/2)-(imagesx($im)/2))-(imagesx($im)*$n), (imagesy($im2)/2)-(imagesy($im)/2), 0, 0, imagesx($im), imagesy($im));<br />imagecopy($im2, $im, ((imagesx($im2)/2)-(imagesx($im)/2))+(imagesx($im)*$n), (imagesy($im2)/2)-(imagesy($im)/2), 0, 0, imagesx($im), imagesy($im));<br />}<br />}</p><p>header(&quot;Content-Type: image/jpeg&quot;);<br />imagejpeg($im2);<br />imagedestroy($im);<br />imagedestroy($im2);</p><p>?&gt;</p>]]></content>
			<author>
				<name><![CDATA[thor69ar]]></name>
				<uri>http://chevereto.com/forums/user633.html</uri>
			</author>
			<updated>2009-12-09T06:17:11Z</updated>
			<id>http://chevereto.com/forums/post2035.html#p2035</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post595.html#p595"/>
			<content type="html"><![CDATA[<p>Esa funcion sería perfecta para que chevereto funcione perfecto como tambien un invitar a amigos a usar el alojador, como esos script que permite tomar los correos de tus contactos y invitarlo a usarlo.</p>]]></content>
			<author>
				<name><![CDATA[memoplus]]></name>
				<uri>http://chevereto.com/forums/user298.html</uri>
			</author>
			<updated>2009-03-05T02:48:47Z</updated>
			<id>http://chevereto.com/forums/post595.html#p595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post420.html#p420"/>
			<content type="html"><![CDATA[<p>Encontre uno que funciona, estoy tratando de conectarlo con <em>$URLimg</em><br /><a href="http://gonzalarcon.co.cc/files/marca_agua_script.rar">http://gonzalarcon.co.cc/files/marca_agua_script.rar</a></p>]]></content>
			<author>
				<name><![CDATA[gonzalarcon]]></name>
				<uri>http://chevereto.com/forums/user7.html</uri>
			</author>
			<updated>2009-02-25T01:21:53Z</updated>
			<id>http://chevereto.com/forums/post420.html#p420</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post415.html#p415"/>
			<content type="html"><![CDATA[<p>Interesante, sería bueno verlo implementado...</p>]]></content>
			<author>
				<name><![CDATA[satanux]]></name>
				<uri>http://chevereto.com/forums/user268.html</uri>
			</author>
			<updated>2009-02-24T23:07:22Z</updated>
			<id>http://chevereto.com/forums/post415.html#p415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post394.html#p394"/>
			<content type="html"><![CDATA[<p>Me gustaria ver esto implemetando Tambien <img src="http://chevereto.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[elfloj0]]></name>
				<uri>http://chevereto.com/forums/user261.html</uri>
			</author>
			<updated>2009-02-24T02:11:29Z</updated>
			<id>http://chevereto.com/forums/post394.html#p394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post342.html#p342"/>
			<content type="html"><![CDATA[<p>Vamos a ver que tan factible es <img src="http://chevereto.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/forums/user2.html</uri>
			</author>
			<updated>2009-02-21T18:49:21Z</updated>
			<id>http://chevereto.com/forums/post342.html#p342</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Marca de Agua]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post340.html#p340"/>
			<content type="html"><![CDATA[<p>Eh estado viendo el script y la verdad es que me ah parecido bastante potente:D!!!, y algo que desde mi punto de vista estaria excelente, seria agregarle la funcion de agregarle una marca de agua a las imagenes.</p>]]></content>
			<author>
				<name><![CDATA[SpOk01]]></name>
				<uri>http://chevereto.com/forums/user249.html</uri>
			</author>
			<updated>2009-02-21T17:50:13Z</updated>
			<id>http://chevereto.com/forums/post340.html#p340</id>
		</entry>
</feed>

