<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7273915912530375746</id><updated>2012-02-16T13:55:33.065Z</updated><category term='php image'/><category term='jQuery'/><title type='text'>jQueryIT</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.jqueryit.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7273915912530375746/posts/default'/><link rel='alternate' type='text/html' href='http://www.jqueryit.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>James Cantrell</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7273915912530375746.post-3286256025554434868</id><published>2010-03-29T10:15:00.001+01:00</published><updated>2010-03-29T10:19:01.748+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php image'/><title type='text'>Set Perspective of an Image Using PHP GD</title><summary type='text'>To set the perspective of an image (i.e make one side appear further away from the other in a isosceles trapezoid)

You could use a library like ImageMagick but I personally think that installing too many libraries takes up too much memory and cpu so I wrote my own function.

To keep it looking smooth, it enlarges the image by 5 (see $mult) and copies each column to a new image at the required </summary><link rel='replies' type='application/atom+xml' href='http://www.jqueryit.com/feeds/3286256025554434868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.jqueryit.com/2010/03/set-perspective-of-image-using-php-gd.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7273915912530375746/posts/default/3286256025554434868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7273915912530375746/posts/default/3286256025554434868'/><link rel='alternate' type='text/html' href='http://www.jqueryit.com/2010/03/set-perspective-of-image-using-php-gd.html' title='Set Perspective of an Image Using PHP GD'/><author><name>James Cantrell</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7FHcMP-w2bc/S7BvUg8FFOI/AAAAAAAAADE/Ss8xXZ-hqE4/s72-c/anF1ZXJ5aXQuY29t%5B1%5D.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7273915912530375746.post-6481365075978368584</id><published>2010-01-04T12:09:00.000Z</published><updated>2010-01-04T12:30:22.462Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Making a Image Appear Blurred and Sharpen When Mouse Is Over Using jQuery</title><summary type='text'>
.blur {
 padding:2.5px; /* To change the amount of blur, change this value */
 width:228px; /* Width of image */
 height:320px; /* Height of image */
 position:relative;
}
.blur img {
 border:none;
 opacity:0.40;
 filter:alpha(opacity=40);
 padding:0;
}


$(document).ready(function () {
 $(".blur img").each(function() {
  var t=$(this).attr("src");
  $(this).parent().append('');
  $(this).parent</summary><link rel='replies' type='application/atom+xml' href='http://www.jqueryit.com/feeds/6481365075978368584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.jqueryit.com/2010/01/making-image-appear-blurred-and-sharpen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7273915912530375746/posts/default/6481365075978368584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7273915912530375746/posts/default/6481365075978368584'/><link rel='alternate' type='text/html' href='http://www.jqueryit.com/2010/01/making-image-appear-blurred-and-sharpen.html' title='Making a Image Appear Blurred and Sharpen When Mouse Is Over Using jQuery'/><author><name>James Cantrell</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7FHcMP-w2bc/S0HRpyQn2oI/AAAAAAAAACQ/KodgA2L_aSE/s72-c/eiffeltower.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
