add some parsing image function