diff options
author | 53hornet <53hornet@gmail.com> | 2018-09-03 20:37:17 -0400 |
---|---|---|
committer | 53hornet <53hornet@gmail.com> | 2018-09-03 20:37:17 -0400 |
commit | 7b3d4f4a18f0269ee626a1fe555cacf0966bb4d9 (patch) | |
tree | 9e789eb7504f27d9bca553b303bd9047a49f83d1 /makefile | |
parent | 2f0780b82f507bfb7958ec2bc6aa188cac677c09 (diff) | |
download | md-site-7b3d4f4a18f0269ee626a1fe555cacf0966bb4d9.tar.xz md-site-7b3d4f4a18f0269ee626a1fe555cacf0966bb4d9.zip |
Added imagemagick compression to JPG and PNG images.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,12 +28,12 @@ img: $(JPG_OUT) $(PNG_OUT) html/%.jpg: md/%.jpg @echo "img: $< -> $@" @mkdir -p "$(@D)" - @cp "$<" "$@" + @convert "$<" -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace RGB -resize 1000x1000\> "$@" html/%.png: md/%.png @echo "img: $< -> $@" @mkdir -p "$(@D)" - @cp "$<" "$@" + @convert "$<" -strip -quality 90 -resize 1000x1000\> "$@" .PHONY: 53hor.net 53hor.net: $(53HORNET_OUT) |