We wanted to paint one wall in our vestibule to add a little more color to the room. As we could not settle on a specific color, I thought of wallpaper. And is there any better theme than OpenStreetMap Data¹?
The theme was settled. It had to be a map, but which tiles? I thought of the beautiful pencil drawn MapBox tiles I saw some time ago:
We wanted some redish color so I had to convert the image with ImageMagick:
1 2 | $ ./colorize.sh 25 file_in.png file_out.png $ cat colorize.sh |
#!/bin/bash # I found this script in the imagemagick formus: # http://www.imagemagick.org/discourse-server/viewtopic.php?t=17460#p91820 # It does about the same as gimp with the colorize option. test -z $1 && exit -1 hue=$1 sat=50 light=0 hue=`convert xc: -format "%[fx:100*$hue/360]" info:` sat=`convert xc: -format "%[fx:2*$sat]" info:` test=`convert xc: -format "%[fx:$light<0?0:1]" info:` light=`convert xc: -format "%[fx:abs($light)]" info:` if [ $test -eq 0 ]; then fillcolor="black" else fillcolor="white" fi convert \ $2 -set colorspace RGB -colorspace gray -set colorspace sRGB \ -fill "hsl($hue%,100%,50%)" -tint 40% \ -modulate 100,$sat,100 \ -fill $fillcolor -colorize $light% $3
the result is something like this: