Commit eb49c995090c79d45675908864aaeaf8b467141f

Authored by Geoffrey PREUD'HOMME
1 parent 32884d30

Created thumbnails images for description page

img/.gitignore
... ... @@ -4,3 +4,4 @@ lille1.png
4 4 mainBgPattern.png
5 5 polyMap.png
6 6 ph*.png
  7 +/desc*.jpg
... ...
img/Makefile
... ... @@ -21,6 +21,16 @@ polyMap.png:
21 21 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 $@
22 22 optipng -o7 $@
23 23  
  24 +# DESCRIPTION
  25 +descDescriptif.jpg: orig/descDescriptif.jpg
  26 + convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity center -composite -resize x400 -quality 90% $@
  27 +
  28 +descConcept.jpg: orig/descConcept.png
  29 + convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity center -composite -resize x400 -quality 90% $@
  30 +
  31 +descActivites.jpg: orig/descActivites.jpg
  32 + convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity east -composite -resize x400 -quality 90% $@
  33 +
24 34 # PLACEHOLDERS
25 35 ph%.png:
26 36 wget "http://fakeimg.pl/$(subst ph,,$(subst .png,,$@))/" -O $@
... ...
img/orig/descDescriptif.JPG renamed to img/orig/descDescriptif.jpg

2.91 MB