Merge pull request #256 from stain/hd-logos
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 06 Jun 2013 13:00:41 +0200
changeset 1690 4b2824425af0
parent 1687 ee333d3fa153 (current diff)
parent 1689 150eb1a9996f (diff)
child 1691 51bbc15eaa52
Merge pull request #256 from stain/hd-logos

High resolution PNGs of logos (width=1920)

This closes #256
images/index.html
--- a/images/Makefile	Wed Jun 05 20:21:53 2013 +0200
+++ b/images/Makefile	Thu Jun 06 13:00:41 2013 +0200
@@ -3,22 +3,28 @@
 LOGO_NAME=json-ld-logo
 LOGO_SRC=$(LOGO_NAME).svg
 LOGO_PNGS=\
+	$(LOGO_NAME).png \
 	$(LOGO_NAME)-64.png
 
 BUTTON_NAME=json-ld-button
 BUTTON_SRC=$(BUTTON_NAME).svg
 BUTTON_PNGS=\
+	$(BUTTON_NAME).png \
 	$(BUTTON_NAME)-88.png
 
 DATA_NAME=json-ld-data
 DATA_SRC=$(DATA_NAME).svg
 DATA_PNGS=\
+	$(DATA_NAME).png \
 	$(DATA_NAME)-64.png \
 	$(DATA_NAME)-48.png \
 	$(DATA_NAME)-32.png \
 	$(DATA_NAME)-24.png \
 	$(DATA_NAME)-16.png
 
+# Maximum width of "high resolution" PNGs
+HD_WIDTH=1920
+
 #	convert -background none -resize 256 $< $(DATA_NAME)-256.gif
 
 all: $(LOGO_PNGS) $(BUTTON_PNGS) $(DATA_PNGS)
@@ -28,9 +34,11 @@
 
 $(LOGO_PNGS): $(LOGO_SRC)
 	inkscape --export-width=64 --export-png=$(LOGO_NAME)-64.png $<
+	inkscape --export-width=$(HD_WIDTH) --export-png=$(LOGO_NAME).png $<
 
 $(BUTTON_PNGS): $(BUTTON_SRC)
 	inkscape --export-width=88 --export-png=$(BUTTON_NAME)-88.png $<
+	inkscape --export-width=$(HD_WIDTH) --export-png=$(BUTTON_NAME).png $<
 
 $(DATA_PNGS): $(DATA_SRC)
 	inkscape --export-width=64 --export-png=$(DATA_NAME)-64.png $<
@@ -38,3 +46,5 @@
 	inkscape --export-width=32 --export-png=$(DATA_NAME)-32.png $<
 	inkscape --export-width=24 --export-png=$(DATA_NAME)-24.png $<
 	inkscape --export-width=16 --export-png=$(DATA_NAME)-16.png $<
+	inkscape --export-width=$(HD_WIDTH) --export-png=$(DATA_NAME).png $<
+
--- a/images/index.html	Wed Jun 05 20:21:53 2013 +0200
+++ b/images/index.html	Thu Jun 06 13:00:41 2013 +0200
@@ -31,7 +31,7 @@
 
             <div id="logos">
                <h2>Logos</h2>
-               <p>These are the JSON-LD logos. Also available as <a href="json-ld-logo.svg">SVG</a>.</p>
+               <p>These are the JSON-LD logos. Also available as <a href="json-ld-logo.svg">SVG</a> or <a href="json-ld-logo.png">high resolution PNG</a>.</p>
                <table class="images">
                  <tbody>
                    <tr>
@@ -50,7 +50,9 @@
 
             <div id="buttons">
                <h2>Buttons</h2>
-               <p>These buttons can be used to show JSON-LD support. Also available as <a href="json-ld-button.svg">SVG</a>.</p>
+               <p>These buttons can be used to show JSON-LD support.
+               Also available as <a href="json-ld-button.svg">SVG</a> (Inkscape) or
+               <a href="json-ld-button.png">high resolution PNG</a>.</p>
                <table class="images">
                  <tbody>
                    <tr>
@@ -69,7 +71,9 @@
 
             <div id="data">
                <h2>Data</h2>
-               <p>These images can be used for JSON-LD data. Also available as <a href="json-ld-data.svg">SVG</a>.</p>
+               <p>These images can be used for JSON-LD data. Also
+               available as <a href="json-ld-data.svg">SVG</a> (Inkscape) or
+               <a href="json-ld-data.png">high resolution PNG</a>.</p>
                <table class="images">
                  <tbody>
                    <tr>
Binary file images/json-ld-button.png has changed
Binary file images/json-ld-data.png has changed
Binary file images/json-ld-logo.png has changed