I assume that the background is transparent automatically if I use the device color space (RGBA, so with alpha). But I’m not sure.
How can I set the background color of my drawing canvas or bitmap context explicitely to make sure it is transparent when it is created?
see more: http://oss.infoscience.co.jp/factor/docs.factorcode.org/content/word-CGContextSetRGBFillColor,core-graphics.html