Common interface to image drawing, making image source code
