pull/1/head
parent
6ca9ac5434
commit
8e4c0c88e3
|
@ -53,7 +53,7 @@ class PDFPage(object):
|
||||||
self.cropbox = resolve1(self.attrs['CropBox'])
|
self.cropbox = resolve1(self.attrs['CropBox'])
|
||||||
else:
|
else:
|
||||||
self.cropbox = self.mediabox
|
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.annots = self.attrs.get('Annots')
|
||||||
self.beads = self.attrs.get('B')
|
self.beads = self.attrs.get('B')
|
||||||
if 'Contents' in self.attrs:
|
if 'Contents' in self.attrs:
|
||||||
|
|
Loading…
Reference in New Issue