+ exp2jpg: implement the funtion