<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Laziest image resize in PHP</title>
	<link>http://www.phpied.com/laziest-image-resize-in-php/</link>
	<description>Stoyan's blog about (x)html, ajax, bookmarklets, browsers, css, firebug, javascript, json, mdb2, mysql, pear, performance, php, phpbb, tools, yslow, yui, writing, music,... life and everything.</description>
	<pubDate>Fri, 16 May 2008 02:55:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: InstaHippo &#187; Image Resize</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-68211</link>
		<pubDate>Sun, 11 May 2008 13:46:29 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-68211</guid>
					<description>[...] In addition, the Image_Transform library offers diffferent ways (to skin the old cat) to resize an image - by given pixel value, only on the X axis, on Y, scalling in percentage and so on. And, of course, the library can do much more than resizing, as you can see in the API docs.4 [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] In addition, the Image_Transform library offers diffferent ways (to skin the old cat) to resize an image - by given pixel value, only on the X axis, on Y, scalling in percentage and so on. And, of course, the library can do much more than resizing, as you can see in the API docs.4 [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: a tvorog</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-63817</link>
		<pubDate>Sat, 23 Feb 2008 21:56:24 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-63817</guid>
					<description>Sorry for flood.
I fixed my problem.
I had to just to change all the path in icludes.</description>
		<content:encoded><![CDATA[<p>Sorry for flood.<br />
I fixed my problem.<br />
I had to just to change all the path in icludes.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: a tvorog</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-63816</link>
		<pubDate>Sat, 23 Feb 2008 21:47:35 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-63816</guid>
					<description>Hi.
Sorry for the perheps dumb question, but I'm really having troubles with using PEAR libraries since I'm not good at all at OOP.
So when trying to use Image_Transform it tells me &quot;Image library not supported... aborting&quot;.
Could you explain how to fix it?

I suppose that the problem is in the way the PEAR is installed at my web-site.
I don't know if it is installed at my host, so at some foums I was suggested just to place it in a local folder at my web-site and just include it to my pages.
The PEAR extantions I 'plug' in the same way.
Do you think there's any better solution?</description>
		<content:encoded><![CDATA[<p>Hi.<br />
Sorry for the perheps dumb question, but I'm really having troubles with using PEAR libraries since I'm not good at all at OOP.<br />
So when trying to use Image_Transform it tells me "Image library not supported&#8230; aborting".<br />
Could you explain how to fix it?</p>
<p>I suppose that the problem is in the way the PEAR is installed at my web-site.<br />
I don't know if it is installed at my host, so at some foums I was suggested just to place it in a local folder at my web-site and just include it to my pages.<br />
The PEAR extantions I 'plug' in the same way.<br />
Do you think there's any better solution?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Pol Clause</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-62977</link>
		<pubDate>Wed, 31 Oct 2007 15:31:44 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-62977</guid>
					<description>I'm using very simply program picture resizer, and I have not any problem.</description>
		<content:encoded><![CDATA[<p>I'm using very simply program picture resizer, and I have not any problem.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Michael Jackson</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-51161</link>
		<pubDate>Tue, 27 Mar 2007 20:17:06 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-51161</guid>
					<description>Right on man. The best coders are lazy coders. Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Right on man. The best coders are lazy coders. Thanks for the tip!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jr</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-49702</link>
		<pubDate>Sat, 03 Mar 2007 23:03:13 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-49702</guid>
					<description>@Jamees

is your image library avaliable?
was planning to use Pear, but I agree it is a little basic.</description>
		<content:encoded><![CDATA[<p>@Jamees</p>
<p>is your image library avaliable?<br />
was planning to use Pear, but I agree it is a little basic.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jamees</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-49104</link>
		<pubDate>Tue, 30 Jan 2007 17:21:07 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-49104</guid>
					<description>@Marc

I found many of PEAR's libraries to be lacking in substance. For image transformation, i have my own lib. As for the case that you pointed out, the code using my lib would be this:

$img = Momo_Image::load('test.png');
$resized = Momo_Image::resize($img, array('width' =&amp;#62; 500)); // It'll figure out the height by proportion
$cropped = Momo_Image::crop($resized, array('start_x' =&amp;#62; 10, 'start_y' =&amp;#62; 100, 'width' =&amp;#62; 200, 'height' =&amp;#62; 300)); // If you omit start_x or start_y, they will default to 0
Momo_Image::render($cropped, array('file_path' =&amp;#62; 'path/to/file.png'));

I avoid Object Oriented Programming for all of my libraries. Makes my life easier when refactoring.</description>
		<content:encoded><![CDATA[<p>@Marc</p>
<p>I found many of PEAR's libraries to be lacking in substance. For image transformation, i have my own lib. As for the case that you pointed out, the code using my lib would be this:</p>
<p>$img = Momo_Image::load('test.png');<br />
$resized = Momo_Image::resize($img, array('width' =&gt; 500)); // It'll figure out the height by proportion<br />
$cropped = Momo_Image::crop($resized, array('start_x' =&gt; 10, 'start_y' =&gt; 100, 'width' =&gt; 200, 'height' =&gt; 300)); // If you omit start_x or start_y, they will default to 0<br />
Momo_Image::render($cropped, array('file_path' =&gt; 'path/to/file.png'));</p>
<p>I avoid Object Oriented Programming for all of my libraries. Makes my life easier when refactoring.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Marc Jakubowski</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-43488</link>
		<pubDate>Fri, 15 Dec 2006 09:40:22 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-43488</guid>
					<description>One drawback I find disturbing about this package is that you can only do one tranformation per image/object. When you want to do a resize and then a crop you get a notice that only one transformation is allowed, if I remember correctly.</description>
		<content:encoded><![CDATA[<p>One drawback I find disturbing about this package is that you can only do one tranformation per image/object. When you want to do a resize and then a crop you get a notice that only one transformation is allowed, if I remember correctly.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: PHPDeveloper.org</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-43208</link>
		<pubDate>Thu, 14 Dec 2006 13:40:06 +0000</pubDate>
		<guid>http://www.phpied.com/laziest-image-resize-in-php/#comment-43208</guid>
					<description>&lt;strong&gt;Stoyan Stefanov's Blog: Laziest image resize in PHP...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>Stoyan Stefanov's Blog: Laziest image resize in PHP&#8230;</strong></p>
<p>&#8230;
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
