I have a pdf of 6 megs and when I convert it to a set of jpeg images then convert it back to into pdf, the resulting pdf is 48 megs. Even when I used the following code