Blame view

img/Makefile 474 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 $@ $@
b307959a   Geoffrey PREUD'HOMME   Optipng bg pattern
9
  	optipng -o7 $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
10
11
  
  %.png: %.svg
05eb2eae   Geoffrey PREUD'HOMME   Better images
12
13
14
15
  	convert -background none $< $@
  	optipng -o7 $@
  
  %.jpg: orig/%.jpg
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
16
  	convert -resize x1200 -strip -interlace Plane -gaussian-blur 0.05 -quality 90% $< $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
17
18
  
  clean:
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
19
  	rm -rf $(GENIMG) $(CMPIMG)