How can I add a border to an image?

Hello. How can I add a border to an image?

Answers

  • edited October 2017 Answer ✓

    You could just draw a rectangle around it with the rect function

    stroke(0);
    rect(ImageX, ImageY, Image.width, Image.height);
    

    where ImageX is the X position of your image and the ImageY the Y position of your image.

  • ....maybe with noFill();

Sign In or Register to comment.