I want to resize my image. Its 1x1, and I want to resize it as below picture. How can I do it with LUA?

Thanks for your help.
Edit: I have now noticed that I have opened the subject to the wrong place, I am very sorry.
Edit x2:


@
 cs2d_is_a_Gem:  I want to extend 1x1 png between these two coordinates as in the picture.
 cs2d_is_a_Gem:  I want to extend 1x1 png between these two coordinates as in the picture. edited 2×, last 10.06.20 12:28:08 am
Admin/mod comment
Wrong topic section, moved. / GeoB99
 GeoB99  
  CS2D
 CS2D  Extending the picture between two coordinates
 Extending the picture between two coordinates 
  1
 1 
 Extending the picture between two coordinates
 Extending the picture between two coordinates Offline
 Offline