simple class to extract 1st page from pdf document and create a compressed png file out of it