we use qt program to handle image file.