summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-25 03:22:04 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-25 03:22:04 (GMT)
commit889ed73e849a70568501d9ec83dd2526be221dea (patch)
tree172dc4ba3be806a3bccef5d2c788e4c02b0dc2db
parenta0106ade83e5ed941499e6182112a1489ca9b31a (diff)
downloadeeshow-889ed73e849a70568501d9ec83dd2526be221dea.zip
eeshow-889ed73e849a70568501d9ec83dd2526be221dea.tar.gz
eeshow-889ed73e849a70568501d9ec83dd2526be221dea.tar.bz2
web/cp.png: include generated image (command-line tools make a mess)
Generating cp.png from cp.xcf isn't all that easy - both ImageMagic and xcf2png fail to produce the correct result.
-rw-r--r--web/Makefile12
-rw-r--r--web/cp.pngbin0 -> 79256 bytes
2 files changed, 10 insertions, 2 deletions
diff --git a/web/Makefile b/web/Makefile
index a30cb7f..856c1b3 100644
--- a/web/Makefile
+++ b/web/Makefile
@@ -13,8 +13,16 @@ index.html: $(FIGS:%=%.png)
wt-cp.png: cp.png
-cp.png: cp.xcf
- convert $< $@ || { rm -f $@; exit 1; }
+#
+# @@@ This doesn't work. ImageMagick produces one image per layer, apparently
+# unaware of their stacking and the image operations going on between them.
+#
+# http://stackoverflow.com/questions/630405/converting-xcf-and-other-files-using-command-line-with-gimp
+# also suggests xcf2png, which almost succeeds, but still produces an unusable
+# image.
+#
+#cp.png: cp.xcf
+# convert $< $@ || { rm -f $@; exit 1; }
upload: $(FIGS:%=%.png)
$(SCP) index.html $(FIGS:%=%.png) $(UPLOAD)
diff --git a/web/cp.png b/web/cp.png
new file mode 100644
index 0000000..5bb7af1
--- /dev/null
+++ b/web/cp.png
Binary files differ