title: PHP GD - distort image to Mercator Projection view
body: <p>i have an image that rendered from data i have on my DB.
  i need to convert this image, with <a href="http://en.wikipedia.org/wiki/Mercator_projection" rel="nofollow">Mercator Projection</a> method, to distorted image that when i'll wrap a 3d sphere with it it'll looks realistic.</p>
  
  <p>do anyone know what are the formulas i need to use to make the distorted image?</p>
  
  <p>i'm using PHP with GD.</p>
  
  <p>thanks.</p>