# Author: Chris Mohler
# Copyright 2009 Chris Mohler
# License: GPL v3
# GIMP plugin to count the number of tiles of the FG color
This plugin breaks the layer into tiles and counts the number of tiles containing a percentage of the FG color, and optionally draws a grid in the bg color. The plug-in also reports the total percentage of the FG color in the layer. For best results, use a flattened copy of your layered image.
Tile size: Enter the tile size in pixels
Minimum Percent: Ignore tiles with lower than this percent of the fg color. EG, enter 5 to skip tiles with less than 5% of the FG color
Draw Grid: toggle this to add the grid layer
This thing is SLOW - it examines every pixel.
It does not seem to find some colors - for best results, use solid colors like (255,0,0) - solid Red, etc. You will know when this happens - the plug-in will report 0 tiles and 0.0%.