$ 0 0 Thanks for your reply. I am interested in turning every white pixel transparent. That seems simpler than detecting a background.