finish pdf to image convertion - resolution needs to be fixed