Comments on Double the Size of an Image
Post
Double the Size of an Image
+1
−0
Double the Size of an Image
Take, as input, an image or a list of values for each pixel, and return an image or list of pixel values for an image of twice the size in each direction.
Specific Rules
The input can be in any image format, including a list of lists of RGB values, as long as there is no metadata stored in the image that is used to help the program.
Output formats are the same as the input.
Shortest code wins.
1 comment thread