Still working on rotating the buffered image