jpeg and different pdf support