Blame view

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