]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Change source of CC image from PNG to SVG, and convert to PNG on the fly.
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 30 Jul 2012 15:17:58 +0000 (17:17 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Mon, 30 Jul 2012 15:17:58 +0000 (17:17 +0200)
Makefile
images/cc.png [deleted file]
images/cc.svg [new file with mode: 0644]

index 2305937514d03fb8681d0ef8f1f5d5894c4a5d61..9cf0fdc2eb1cedc3129fa5b98f5c7e37c8879dce 100644 (file)
--- 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 (file)
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 (file)
index 0000000..4b32a4b
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="88px" height="31px">\r
+<radialGradient id="SVGID_1_" cx="1156.1123" cy="1087.813" r="181.6453" gradientTransform="matrix(0.2613 0 0 0.2613 -258.1219 -273.3688)" gradientUnits="userSpaceOnUse">\r
+       <stop offset="0" stop-color="#F5F7F5"/>\r
+       <stop offset="1" stop-color="#A5B2AC"/>\r
+</radialGradient>\r
+<path fill-opacity="0.63" fill="url(#SVGID_1_)" stroke="#000" stroke-miterlimit="3.8637" d="\r
+       M87.511,4.363c0-2.14-1.771-3.874-3.955-3.874H4.447c-2.184,0-3.956,1.734-3.955,3.874L0.489,29.885\r
+       c0.092,0.21,0.188,0.418,0.283,0.626l86.456-0.001c0.095-0.208,0.19-0.415,0.282-0.625V4.363z"/>\r
+<polygon points="0.479,20.957 87.521,20.957 87.521,30.521 0.479,30.521 "/>\r
+<path transform="matrix(3.09205,0,0,3.09205,-106.819,-116.699)" fill="#FFF" d="M34.943,46.838\r
+       c0,0.4,0.286,0.541,0.658,0.541c0.161,0,0.433-0.023,0.565-0.235c0.077-0.124,0.077-0.255,0.077-0.467c0-0.191,0-0.265-0.064-0.373\r
+       c-0.05-0.087-0.141-0.171-0.225-0.232l-0.43-0.292c-0.094-0.063-0.138-0.107-0.138-0.305c0-0.191,0.084-0.235,0.201-0.235\r
+       c0.191,0,0.191,0.127,0.191,0.242v0.171h0.433v-0.235c0-0.406-0.349-0.51-0.605-0.51c-0.229,0-0.39,0.067-0.477,0.141\r
+       c-0.155,0.128-0.171,0.306-0.171,0.491c0,0.242,0.06,0.406,0.282,0.557l0.417,0.279c0.114,0.077,0.148,0.148,0.148,0.316\r
+       c0,0.212,0,0.353-0.215,0.353c-0.212,0-0.212-0.138-0.212-0.275v-0.276h-0.437V46.838z M37.734,45.503\r
+       c0-0.228-0.041-0.353-0.158-0.45c-0.111-0.091-0.279-0.148-0.494-0.148c-0.269,0-0.447,0.084-0.537,0.182\r
+       c-0.121,0.128-0.124,0.305-0.124,0.406v1.327c0,0.302,0.131,0.557,0.665,0.557c0.158,0,0.38-0.02,0.521-0.168\r
+       c0.094-0.094,0.128-0.215,0.128-0.39V45.503L37.734,45.503z M37.293,46.757c0,0.114,0,0.279-0.215,0.279\r
+       c-0.215,0-0.222-0.154-0.222-0.289v-1.196c0-0.131,0-0.312,0.225-0.312c0.212,0,0.212,0.171,0.212,0.296L37.293,46.757\r
+       L37.293,46.757z M37.934,47.328h0.43l-0.033-2.056l0.389,2.056h0.41l0.383-2.056l-0.041,2.056h0.434v-2.372h-0.702l-0.279,1.66\r
+       l-0.282-1.66h-0.709V47.328z M40.152,47.328h1.179v-0.366h-0.742v-0.729h0.668v-0.359h-0.668v-0.558h0.712v-0.363h-1.149V47.328z\r
+        M42.192,47.328h0.436v-1.045h0.209c0.228,0,0.228,0.114,0.228,0.276v0.507c0,0.071,0.014,0.172,0.064,0.262h0.48\r
+       c-0.091-0.074-0.101-0.198-0.101-0.319v-0.484c0-0.319-0.218-0.383-0.323-0.41c0.212-0.046,0.306-0.1,0.306-0.403v-0.255\r
+       c0-0.218,0-0.504-0.427-0.504h-0.873V47.328L42.192,47.328z M42.628,45.296h0.229c0.097,0,0.201,0,0.201,0.195v0.225\r
+       c0,0.121-0.003,0.228-0.201,0.228h-0.229V45.296z M43.821,44.956h0.433v2.372h-0.433V44.956z M45.761,45.722v-0.346\r
+       c0-0.148-0.044-0.276-0.178-0.363c-0.141-0.091-0.346-0.108-0.454-0.108c-0.655,0-0.676,0.4-0.676,0.638v1.35\r
+       c0,0.393,0.303,0.484,0.514,0.484c0.252,0,0.356-0.121,0.42-0.191v0.141h0.373v-1.287h-0.709v0.356h0.272v0.37\r
+       c0,0.114,0,0.275-0.218,0.275c-0.154,0-0.208-0.081-0.208-0.238v-1.25c0-0.128,0-0.306,0.222-0.306c0.205,0,0.205,0.131,0.205,0.249\r
+       v0.225H45.761L45.761,45.722z M46.022,47.328h0.436v-1.085h0.4v1.085h0.436v-2.372h-0.436v0.934h-0.4v-0.934h-0.436V47.328z\r
+        M47.402,45.299h0.436v2.029h0.44v-2.029h0.437v-0.343h-1.313V45.299z M48.786,46.838c0,0.4,0.285,0.541,0.658,0.541\r
+       c0.161,0,0.433-0.023,0.564-0.235c0.078-0.124,0.078-0.255,0.078-0.467c0-0.191,0-0.265-0.064-0.373\r
+       c-0.051-0.087-0.141-0.171-0.226-0.232l-0.43-0.292c-0.094-0.063-0.138-0.107-0.138-0.305c0-0.191,0.084-0.235,0.201-0.235\r
+       c0.191,0,0.191,0.127,0.191,0.242v0.171h0.433v-0.235c0-0.406-0.349-0.51-0.604-0.51c-0.229,0-0.39,0.067-0.477,0.141\r
+       c-0.155,0.128-0.172,0.306-0.172,0.491c0,0.242,0.061,0.406,0.283,0.557l0.416,0.279c0.114,0.077,0.148,0.148,0.148,0.316\r
+       c0,0.212,0,0.353-0.215,0.353c-0.212,0-0.212-0.138-0.212-0.275v-0.276h-0.437L48.786,46.838L48.786,46.838z M51.002,47.328h0.437\r
+       v-1.045h0.208c0.229,0,0.229,0.114,0.229,0.276v0.507c0,0.071,0.013,0.172,0.064,0.262h0.481c-0.091-0.074-0.101-0.198-0.101-0.319\r
+       v-0.484c0-0.319-0.219-0.383-0.323-0.41c0.212-0.046,0.306-0.1,0.306-0.403v-0.255c0-0.218,0-0.504-0.427-0.504h-0.874V47.328z\r
+        M51.439,45.296h0.228c0.097,0,0.201,0,0.201,0.195v0.225c0,0.121-0.003,0.228-0.201,0.228h-0.228V45.296z M52.597,47.328h1.179\r
+       v-0.366h-0.743v-0.729h0.669v-0.359h-0.669v-0.558h0.713v-0.363h-1.149V47.328z M53.978,46.838c0,0.4,0.286,0.541,0.659,0.541\r
+       c0.161,0,0.433-0.023,0.564-0.235c0.077-0.124,0.077-0.255,0.077-0.467c0-0.191,0-0.265-0.064-0.373\r
+       c-0.05-0.087-0.141-0.171-0.225-0.232l-0.43-0.292c-0.094-0.063-0.138-0.107-0.138-0.305c0-0.191,0.084-0.235,0.201-0.235\r
+       c0.191,0,0.191,0.127,0.191,0.242v0.171h0.434v-0.235c0-0.406-0.35-0.51-0.605-0.51c-0.228,0-0.39,0.067-0.477,0.141\r
+       c-0.154,0.128-0.171,0.306-0.171,0.491c0,0.242,0.06,0.406,0.282,0.557l0.417,0.279c0.114,0.077,0.148,0.148,0.148,0.316\r
+       c0,0.212,0,0.353-0.215,0.353c-0.212,0-0.212-0.138-0.212-0.275v-0.276h-0.437V46.838L53.978,46.838z M55.542,47.328h1.179v-0.366\r
+       h-0.743v-0.729h0.669v-0.359h-0.669v-0.558h0.712v-0.363h-1.149V47.328z M56.95,47.328h0.437v-1.045h0.208\r
+       c0.229,0,0.229,0.114,0.229,0.276v0.507c0,0.071,0.013,0.172,0.063,0.262h0.481c-0.091-0.074-0.101-0.198-0.101-0.319v-0.484\r
+       c0-0.319-0.219-0.383-0.322-0.41c0.212-0.046,0.305-0.1,0.305-0.403v-0.255c0-0.218,0-0.504-0.426-0.504H56.95V47.328L56.95,47.328z\r
+        M57.387,45.296h0.228c0.097,0,0.201,0,0.201,0.195v0.225c0,0.121-0.004,0.228-0.201,0.228h-0.228V45.296z M58.851,47.328h0.44\r
+       l0.447-2.372h-0.447l-0.215,1.569l-0.232-1.569H58.38L58.851,47.328z M59.899,47.328h1.179v-0.366h-0.743v-0.729h0.669v-0.359\r
+       h-0.669v-0.558h0.712v-0.363h-1.149V47.328z M61.307,47.328h0.702c0.551,0,0.601-0.309,0.601-0.638v-1.109\r
+       c0-0.188-0.016-0.349-0.141-0.477c-0.144-0.148-0.316-0.148-0.457-0.148h-0.705V47.328z M61.743,45.302h0.171\r
+       c0.191,0,0.262,0.03,0.262,0.242v1.182c0,0.087,0,0.226-0.158,0.249c-0.037,0.007-0.07,0.007-0.275,0.007V45.302z"/>\r
+<g transform="matrix(3.13012,0,0,3.13012,-108.752,-119.89)">\r
+       <ellipse fill="#FFF" cx="48.801" cy="41.818" rx="2.314" ry="2.314"/>\r
+       <path d="M48.797,39.188c-0.721,0-1.356,0.267-1.847,0.764c-0.505,0.511-0.779,1.174-0.779,1.866\r
+               c0,0.699,0.267,1.347,0.772,1.851c0.505,0.504,1.162,0.778,1.854,0.778s1.363-0.273,1.883-0.785c0.49-0.483,0.75-1.124,0.75-1.844\r
+               c0-0.713-0.26-1.361-0.758-1.859C50.168,39.455,49.519,39.188,48.797,39.188z M48.804,39.664c0.592,0,1.118,0.223,1.529,0.634\r
+               c0.404,0.403,0.621,0.936,0.621,1.52c0,0.591-0.21,1.109-0.613,1.506c-0.425,0.418-0.974,0.641-1.537,0.641\r
+               c-0.57,0-1.104-0.223-1.515-0.634c-0.411-0.411-0.642-0.951-0.642-1.513c0-0.569,0.231-1.109,0.642-1.527\r
+               C47.693,39.88,48.213,39.664,48.804,39.664z"/>\r
+       <path d="M48.771,41.381c-0.149-0.271-0.403-0.379-0.697-0.379c-0.429,0-0.77,0.303-0.77,0.815\r
+               c0,0.522,0.321,0.816,0.784,0.816c0.298,0,0.551-0.163,0.691-0.411l-0.326-0.166c-0.073,0.175-0.184,0.227-0.324,0.227\r
+               c-0.242,0-0.353-0.201-0.353-0.466c0-0.265,0.093-0.466,0.353-0.466c0.07,0,0.21,0.038,0.291,0.213L48.771,41.381z"/>\r
+       <path d="M50.289,41.381c-0.149-0.271-0.402-0.379-0.697-0.379c-0.429,0-0.77,0.303-0.77,0.815\r
+               c0,0.522,0.321,0.816,0.784,0.816c0.298,0,0.551-0.163,0.691-0.411l-0.327-0.166c-0.073,0.175-0.184,0.227-0.324,0.227\r
+               c-0.242,0-0.353-0.201-0.353-0.466c0-0.265,0.094-0.466,0.353-0.466c0.071,0,0.21,0.038,0.292,0.213L50.289,41.381z"/>\r
+</g>\r
+</svg>\r