Skip to content

Commit

Permalink
fix(rules): Work around PNG conversion issue in current ImageMagick
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed May 7, 2024
1 parent a936fbe commit a6408c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rules/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,12 @@ $(BUILDDIR)/%-$(_barcode).png: $(BUILDDIR)/%-$(_barcode).svg
$< \
-bordercolor white -border 10 \
-font Hack-Regular -pointsize 72 \
-fill black \
label:" ISBN $(shell $(_ENV) isbn_format.py $*-manifest.yml paperback mask)" +swap -gravity Center -append \
-bordercolor white -border 0x10 \
-resize $(call scale,1200)x \
-alpha off \
-fill '#fffffe' -draw 'point 2,2' \
$@
if [[ $(shell $(_ENV) isbn_format.py $*-manifest.yml paperback) == 9786056644504 ]]; then
$(MAGICK) \
Expand Down

0 comments on commit a6408c3

Please sign in to comment.