added image reading using QImage