diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index 94f2239..707e225 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -115,8 +115,8 @@ class Photography(Bureau): xsize, ysize = img.size #crop here to trim calibrated extra pixels - loffset = round(xsize * (float(23) / 257)) - roffset = round(xsize * (float(8) / 257)) + loffset = int(round(xsize * (float(23) / 257))) + roffset = xsize - int(round(xsize * (float(8) / 257))) box = (loffset, 0, roffset, ysize) img = img.crop(box)