add error about two options
change definition of export_img and add error about no page output

* export_img returns exported image or not
up version