Yusuke Shinyama 2013-10-17 23:20:08 +09:00
parent 6ca9ac5434
commit 8e4c0c88e3
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class PDFPage(object):
self.cropbox = resolve1(self.attrs['CropBox'])
else:
self.cropbox = self.mediabox
self.rotate = (self.attrs.get('Rotate', 0)+360) % 360
self.rotate = (int_value(self.attrs.get('Rotate', 0))+360) % 360
self.annots = self.attrs.get('Annots')
self.beads = self.attrs.get('B')
if 'Contents' in self.attrs: