$ 0 0 Perhaps this post below can help you out:http://forum.processing.org/topic/using-set-when-dealing-with-images-containing-transparency-causes-problems#25080000002144389More specifically -> function copy().