Flipped y-axis to usual direction in bi_image_density.