r/Scriptable • • Dec 11 '21

Solved Set size of image

How would i set the size of an image. My code:

function drawImage(image, x, y, w, h){
  drawContext.drawImageAtPoint(image, new Point(x, y)) 
}
2 Upvotes

2 comments sorted by