|
|
@ -115,8 +115,8 @@ class Photography(Bureau):
|
|
|
|
xsize, ysize = img.size
|
|
|
|
xsize, ysize = img.size
|
|
|
|
|
|
|
|
|
|
|
|
#crop here to trim calibrated extra pixels
|
|
|
|
#crop here to trim calibrated extra pixels
|
|
|
|
loffset = round(xsize * (float(23) / 257))
|
|
|
|
loffset = int(round(xsize * (float(23) / 257)))
|
|
|
|
roffset = round(xsize * (float(8) / 257))
|
|
|
|
roffset = xsize - int(round(xsize * (float(8) / 257)))
|
|
|
|
box = (loffset, 0, roffset, ysize)
|
|
|
|
box = (loffset, 0, roffset, ysize)
|
|
|
|
img = img.crop(box)
|
|
|
|
img = img.crop(box)
|
|
|
|
|
|
|
|
|
|
|
|