Possible Duplicate:
Why my code not correctly split every page in a scanned pdf?
I am using pyPdf
to split pdf pages.
Everything works ok, but page sizes are not the same.
Original page size: 1000px
p1.mediaBox.upperRight = (w/2, h) # get 500px
p2.mediaBox.upperLeft = (w/2, h) # get 1000px
I checked page size with the command: (w, h) = p.mediaBox.upperRight
.
Why is upperLeft
wrong?