added addLine methods to Image