From 21b0b51fd931f089a7f0a45e03bc3d9194933dc4 Mon Sep 17 00:00:00 2001 From: maniu <1+maniu@noreply@maniu.eu> Date: Mon, 12 Oct 2026 15:17:02 +0200 Subject: [PATCH] Update python-fu-instagram-1977/Instagram1977.py --- python-fu-instagram-1977/Instagram1977.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/python-fu-instagram-1977/Instagram1977.py b/python-fu-instagram-1977/Instagram1977.py index 5d8f5fa..194790d 100644 --- a/python-fu-instagram-1977/Instagram1977.py +++ b/python-fu-instagram-1977/Instagram1977.py @@ -34,7 +34,7 @@ class PythonInstagram1977(Gimp.PlugIn): name) procedure.set_attribution("M", "(c) GPL V3.0 or later", - "2026") + "2026-2028") procedure.set_menu_label("Instagram1977") procedure.add_menu_path('/Filters/') @@ -74,8 +74,7 @@ class PythonInstagram1977(Gimp.PlugIn): Gimp.context_set_foreground(wcolor) img.select_rectangle(0, 0,0, w,h ) dimBorder = int( (w/100)*2 ) - if dimBorder<5: - dimBorder=5 + dimBorder = max (dimBorder,5) Gimp.Selection.shrink(img, dimBorder) Gimp.Selection.invert(img) Wborder.edit_fill(Gimp.FillType.FOREGROUND) @@ -89,8 +88,7 @@ class PythonInstagram1977(Gimp.PlugIn): img.select_rectangle( 0, 0,0, w,h ) dimBorder=int( (w/100)*2 ) - if dimBorder < 5: - dimBorder = 5 + dimBorder = max (dimBorder,5) Gimp.Selection.shrink(img, dimBorder) Gimp.Selection.invert(img) Bborder.edit_fill(Gimp.FillType.FOREGROUND)