def crop_page_margins(page, uxuy_lxly_scale):
    """ Crop the margins of a PdfFileReader PDF page and scale it back to size """
    page.mediaBox.lowerLeft, page.mediaBox.upperRight, scale = uxuy_lxly_scale
    page.scaleBy(scale)
    return page