From: Petter Reinholdtsen Date: Mon, 30 Jul 2012 15:17:58 +0000 (+0200) Subject: Change source of CC image from PNG to SVG, and convert to PNG on the fly. X-Git-Tag: edition-2015-10-10~2001 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/428dd1cfccdedb80d5152a98cf6550f1fc0301b1 Change source of CC image from PNG to SVG, and convert to PNG on the fly. --- diff --git a/Makefile b/Makefile index 2305937..9cf0fdc 100644 --- a/Makefile +++ b/Makefile @@ -70,3 +70,9 @@ lint: freeculture.xml lint.nb: freeculture.nb.xml xmllint $(XMLLINTOPTS) freeculture.nb.xml + +images/cc.svg: + wget -O $@ http://upload.wikimedia.org/wikipedia/commons/9/97/CC_some_rights_reserved_new_2.svg + +images/cc.png: images/cc.svg + convert -adaptive-resize 500x200 $^ $@ diff --git a/images/cc.png b/images/cc.png deleted file mode 100644 index 40a5f3d..0000000 Binary files a/images/cc.png and /dev/null differ diff --git a/images/cc.svg b/images/cc.svg new file mode 100644 index 0000000..4b32a4b --- /dev/null +++ b/images/cc.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + +