Merge PngWriter._build_image_data_bd{1,2}()