Blame view

img/Makefile 758 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
  
a2f5866b   Geoffrey PREUD'HOMME   Added static map ...
4
5
6
  ALLGEN=$(GENIMG) $(CMPIMG) mainBgPattern.png polyMap.png
  
  all: $(ALLGEN)
daf147e9   Geoffrey PREUD'HOMME   Added background ...
7
8
9
10
  
  mainBgPattern.png:
  	wget http://subtlepatterns.com/patterns/low_contrast_linen.png -O $@
  	convert -negate $@ $@
32187f6d   Geoffrey PREUD'HOMME   More blue
11
  	convert -channel B -evaluate multiply 1.2 $@ $@
b307959a   Geoffrey PREUD'HOMME   Optipng bg pattern
12
  	optipng -o7 $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
13
  
a2f5866b   Geoffrey PREUD'HOMME   Added static map ...
14
  polyMap.png:
3a30fef5   Geoffrey PREUD'HOMME   Better remplaceme...
15
  	wget "https://maps.googleapis.com/maps/api/staticmap?center=50.6074998,3.1373338&zoom=16&size=640x200&scale=2&maptype=roadmap&markers=color:red%7Clabel:P%7C50.6074998,3.1373338" -O $@
a2f5866b   Geoffrey PREUD'HOMME   Added static map ...
16
17
  	optipng -o7 $@
  
05eb2eae   Geoffrey PREUD'HOMME   Better images
18
  %.png: %.svg
05eb2eae   Geoffrey PREUD'HOMME   Better images
19
20
21
22
  	convert -background none $< $@
  	optipng -o7 $@
  
  %.jpg: orig/%.jpg
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
23
  	convert -resize x1200 -strip -interlace Plane -gaussian-blur 0.05 -quality 90% $< $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
24
25
  
  clean:
a2f5866b   Geoffrey PREUD'HOMME   Added static map ...
26
  	rm -rf $(ALLGEN)