diff --git a/make-includes/standard_rules.make b/make-includes/standard_rules.make index a6afd02..c477d9e 100644 --- a/make-includes/standard_rules.make +++ b/make-includes/standard_rules.make @@ -128,7 +128,7 @@ # Includes both blurred and unblurred versions, use as required. # # Unblurred: -convert_bg = $(CONVERT) "$(1)" -threshold "-1" -depth 16 - | $(COMPOSITE) -dissolve 33% "$(1)" - "$(2)" +convert_bg = $(CONVERT) "$(1)" -fill white -colorize 67% "$(2)" %-BG.png: %.tif $(call convert_bg,$<,$(IMGDIR)/$@) @@ -143,19 +143,19 @@ $(call convert_bg,$<,$(IMGDIR)/$@) # # Blurred: -convert_bg_blur = $(CONVERT) -blur 0.5 "$(1)" "$(2)"; $(CONVERT) "$(2)" -threshold "-1" -depth 16 - | $(COMPOSITE) -dissolve 33% "$(2)" - "$(3)"; rm -f "$(2)" +convert_bg_blur = $(CONVERT) -blur 0.5 -fill white -colorize 67% "$(1)" "$(2)" %-BG-blur.png: %.tif - $(call convert_bg_blur,$<,$(IMGDIR)/$*-tmp.png,$(IMGDIR)/$@) + $(call convert_bg_blur,$<,$(IMGDIR)/$@) %-BG-blur.png: %.png - $(call convert_bg_blur,$<,$(IMGDIR)/$*-tmp.png,$(IMGDIR)/$@) + $(call convert_bg_blur,$<,$(IMGDIR)/$@) %-BG-blur.png: %.jpg - $(call convert_bg_blur,$<,$(IMGDIR)/$*-tmp.png,$(IMGDIR)/$@) + $(call convert_bg_blur,$<,$(IMGDIR)/$@) %-BG-blur.png: %.pict - $(call convert_bg_blur,$<,$(IMGDIR)/$*-tmp.png,$(IMGDIR)/$@) + $(call convert_bg_blur,$<,$(IMGDIR)/$@) # # PNG from XCF. #