Double an image using python
<p>i have to double an image using python, </p>

<p>So i think i can replace each pixel of the image with a square formed by 4 pixels </p>

<p>how do i can do that and assign to each pixel of the little square different colors? </p>