title: Extend image repeating horizontal line and repeating vertical line on iOS
body: <p>I have image and in that image i want to repeat horizontal and vertical line, so i extend my image.</p>
  
  <p>For example i have image 50X50, and i want it to be 50x70, by repeating line x = 15. Is this even possible on iOS?</p>
  
  <p>EDIT:</p>
  
  <p>Ok i'll try to be more clear. I have image 60x60, which is rectangle basically, with width 60 and height 60. Now i want to streach that image to be 80x60, by repeating pixles with x = 40. Or to draw it simply, i have:</p>
  
  <pre><code>  123456
  1 XXXAXX
  2 XXXAXX
  3 XXXAXX
  4 XXXAXX
  5 XXXAXX
  6 XXXAXX
  </code></pre>
  
  <p>and i want it to be:</p>
  
  <pre><code>  12345678
  1 XXXAAAXX
  2 XXXAAAXX
  3 XXXAAAXX
  4 XXXAAAXX
  5 XXXAAAXX
  6 XXXAAAXX
  </code></pre>
  
  <p>I repeat all pixels on image that are on the line 40. And i want to do it on any number of images.</p>