Added feature for extracting pdf thumb