PDF to image REST APIs