From 92f10db8945ad21b43e1d0fa70185011c36fd9b6 Mon Sep 17 00:00:00 2001 From: spacek531 Date: Tue, 29 Apr 2025 13:55:10 -0700 Subject: [PATCH] surround color values in quotes --- loco-graphics-helper/magick_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loco-graphics-helper/magick_command.py b/loco-graphics-helper/magick_command.py index 54adec2..330520e 100644 --- a/loco-graphics-helper/magick_command.py +++ b/loco-graphics-helper/magick_command.py @@ -54,7 +54,7 @@ def id_mask(self, r, g, b): # Replaces all instances of color with color2 def replace_color(self, color, color2): - self.full_command += " -fill " + color2 + " -opaque " + color + self.full_command += " -fill \"" + color2 + "\" -opaque \"" + color + "\"" # Mixes between the current source, and source B given a mask def mask_mix(self, sourceB, mask):