title: PIL? Extract all pixels of a given RGB value
body: <p>Given an image (.tiff or geotiff file) with exactly 22 colors (each with a distinct RGB value), what are the approaches to separate ("filter") them out into 22 separate images, each containing only those pixels with a specific RGB value?</p>