Simplify the PngWriter._build_image_data*() method signatures