diff --git a/crop_card.py b/crop_card.py index ec84fce..c3dcff3 100644 --- a/crop_card.py +++ b/crop_card.py @@ -74,11 +74,12 @@ def crop(input_filepath: Path) -> Path: cropped_w, cropped_h = cropped_part.width, cropped_part.height # Draw where cuts should go + # TODO: Move this after composing a sheet and add guide lines to the edge cut_pixels = LEAVE_BLEED_INCHES * dpi_by_w cut_pixels_int = round(cut_pixels) draw = ImageDraw.Draw(cropped_part) LENGTH_CUT_GUIDE_INCHES = 0.06 - CUT_GUIDE_WIDTH_INCHES = 0.004 + CUT_GUIDE_WIDTH_INCHES = 0.006 guide_len = round(LENGTH_CUT_GUIDE_INCHES * dpi_by_w) guide_thickness = round(CUT_GUIDE_WIDTH_INCHES * dpi_by_w) cut_x_l = cut_pixels_int