What happens during imwrite if you specify a png image and that the passed mat has unset pixels? Are they treated as no opacity pixels? Because when I save I still get the gray value, so perhaps when I create a cv::Mat is it filled in gray by default?