Handling PNG images when watermarking