fixed text coordinate
added image save functionallity