Esempio n. 1
0
 def crop4Nook(src):
     '''crop blank edge'''
     srcPath, ext = os.path.splitext(src)
     destPath = srcPath + '_n' + ext
     # print destPath
     DuoPdf.crop(destPath, src, 56, 40, 56, 40)
Esempio n. 2
0
 def crop4Nook(src):
     '''crop blank edge'''
     srcPath, ext = os.path.splitext(src)
     destPath = srcPath + '_n' + ext
     # print destPath
     DuoPdf.crop(destPath, src, 56, 40, 56, 40)
Esempio n. 3
0
 def crop4Kindle(src):
     '''crop blank edge'''
     srcPath, ext = os.path.splitext(src)
     destPath = srcPath + '_k' + ext
     # print destPath
     DuoPdf.crop(destPath, src, 50, 12, 50, 12)
Esempio n. 4
0
 def crop4Kindle(src):
     '''crop blank edge'''
     srcPath, ext = os.path.splitext(src)
     destPath = srcPath + '_k' + ext
     # print destPath
     DuoPdf.crop(destPath, src, 50, 12, 50, 12)