Why is there a blank line between two image printing continuously?