convert pdf to img using rq