diff --git a/img/.gitignore b/img/.gitignore index cd5898c..cb37a96 100644 --- a/img/.gitignore +++ b/img/.gitignore @@ -4,3 +4,4 @@ lille1.png mainBgPattern.png polyMap.png ph*.png +/desc*.jpg diff --git a/img/Makefile b/img/Makefile index a7c4680..dd8511e 100755 --- a/img/Makefile +++ b/img/Makefile @@ -21,6 +21,16 @@ polyMap.png: 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 $@ optipng -o7 $@ +# DESCRIPTION +descDescriptif.jpg: orig/descDescriptif.jpg + convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity center -composite -resize x400 -quality 90% $@ + +descConcept.jpg: orig/descConcept.png + convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity center -composite -resize x400 -quality 90% $@ + +descActivites.jpg: orig/descActivites.jpg + convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity east -composite -resize x400 -quality 90% $@ + # PLACEHOLDERS ph%.png: wget "http://fakeimg.pl/$(subst ph,,$(subst .png,,$@))/" -O $@ diff --git a/img/orig/descDescriptif.JPG b/img/orig/descDescriptif.JPG deleted file mode 100644 index f9764e3..0000000 Binary files a/img/orig/descDescriptif.JPG and /dev/null differ diff --git a/img/orig/descDescriptif.jpg b/img/orig/descDescriptif.jpg new file mode 100644 index 0000000..f9764e3 Binary files /dev/null and b/img/orig/descDescriptif.jpg differ -- libgit2 0.21.2