Blame view

img/Makefile 458 Bytes
05eb2eae   Geoffrey PREUD'HOMME   Better images
1
2
3
  GENIMG=lille1.png polytechlille.png
  CMPIMG=CREP-1.jpg CREP-2.jpg CREP-3.jpg CREP-4.jpg CREP-5.jpg
  
daf147e9   Geoffrey PREUD'HOMME   Added background ...
4
5
6
7
8
  all: $(GENIMG) $(CMPIMG) mainBgPattern.png
  
  mainBgPattern.png:
  	wget http://subtlepatterns.com/patterns/low_contrast_linen.png -O $@
  	convert -negate $@ $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
9
10
  
  %.png: %.svg
05eb2eae   Geoffrey PREUD'HOMME   Better images
11
12
13
14
  	convert -background none $< $@
  	optipng -o7 $@
  
  %.jpg: orig/%.jpg
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
15
  	convert -resize x1200 -strip -interlace Plane -gaussian-blur 0.05 -quality 90% $< $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
16
17
  
  clean:
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
18
  	rm -rf $(GENIMG) $(CMPIMG)