Elie
Created page with "Generates a simple world map of the continents. : Input: File:countries.data-int16-8640x4320 : Output: File:continents-black-on-white.png : Code dependency: Code:stb_image_write.h ==Code== <syntaxhighlight lang="c"> // Generates a black-and-white PNG world map of the continents, using NASA GPWv4 country indicator data #define IN_FILE "data/countries.data-int16-8640x4320" #define OUT_FILE "data/continents-black-on-white.png" #define INPUT_WIDTH 8640 #define..."