Skip to content
Advertisement

Adding a border to and Image in my code

Help, I need to put a border on the image displayed from the code below. How do I do this? The code below pulls up the image, and now i need a border. Help.. All of this code is Python

JavaScript

Advertisement

Answer

Just create a slightly larger array that is black and fill the central pixels with your image.

JavaScript

enter image description here

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement