Use function halo() with 1 pixel.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 28 Jun 2019 21:46:50 +0000 (23:46 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 28 Jun 2019 21:46:50 +0000 (23:46 +0200)
gimp_passport.py

index acbce85..1aafe73 100644 (file)
@@ -174,6 +174,7 @@ def main(paper_width_mm: float, paper_height_mm: float, paper_margin_mm: float,
     columns = num_tiles(paper.width, passport_tile.width, margin, spacing)
     rows = num_tiles(paper.height, passport_tile.height, margin, spacing)
     cut_lines_xy(paper, columns, rows, passport_tile.size, margin, spacing)
+    halo(paper, columns, rows, passport_tile.size, 1, margin, spacing)
     tile(paper, passport_tile, columns, rows, margin, spacing)
     paper = downsample_large(paper, max_dpi)
     paper.save(dest_image, dpi=paper.info['dpi'])