Fandom

Freeciv

Nations/recipe

< Nations

704pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

  1. Get, create, or fix the SVG.
  2. Check the SVG at the validator; if invalid go back to (1)
  3. Convert the SVG to PNG, e.g., use rsvg-convert -o flag.png flag.svg
  4. Determine the width and height of the PNG, if it is 3:2 (2*w=3*h) go to (6)
  5. Add pixels to get a 3:2 PNG with 2*w'=3*h' for old w <= new w' and old h <= new h'
    • If 2*w < 3*h copy pixel columns at the right and/or left to get a new w'
    • If 2*w > 3*h copy pixel rows at the bottom and/or top to get a new h'
  6. Scale the new 3:2 PNG down to (in pixels) 45×30, 30×20, and 21×14
    • For 45×30 remove the right or left column to get the 44×30 flag-large.png
    • For 30×20 remove the right or left column to get the 29×20 flag.png
    • For 29×20 remove 10 right and/or left columns to get a temporary 19×20
    • For 19×20 remove the bottom or top row to get a temporary 19×19
    • For 21×14 remove 7 right and/or left columns to get a temporary 14×14
  7. Apply mask-large.png (or similar) on 19×19 to get flag-shield-large.png
  8. Apply mask-png (or similar) on 14×14 to get flag-shield.png

Also on Fandom

Random Wiki