Image:Swiss cantons.png

From Wikipedia, the free encyclopedia

Entitled: "bloody big PNG"...


GFDL

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
Subject to disclaimers.


Some explanation is in order I suppose...

  • Take a swiss map, remove text...
  • For each area
    • Create a new transparent layer
    • Open the flag, paste it into this layer
    • Resize the flag to fit that area
    • Go back to the blank map, and magic-select the area (selection is in the shape of a canton)
    • Grow the selection by a pixel or two if necessary
    • Invert the selection (everything outside the area is selected)
    • Go back to the flag layer. Delete the selection (i.e. everything outside the area)
    • Layer now contains an oddly-shaped flag, and everything else is transparent.
  • Repeat as necessary
  • Merge all the flag-layers into one, for convenience
  • Select-by-colour the borders, blacken them, fuzz them, colour-to-alpha, and make that a semitransparent layer representing "borders"
  • Select the not-needed regions, whiten them, and make that into a semitransparent layer to neaten the edges
  • Export as PNG, wait for comments, redo bits according to readers' comments and preference...
Light
Enlarge
Light

There's also a version with a semi-white layer over the flags to lighten the image a bit and make the borders more distinct

File history

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.


The following pages on the English Wikipedia link to this file (pages on other projects are not listed):