mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 02:37:01 -06:00
The check for colors the palette cannot explain counted a pixel of a bar two pixels wide only when its neighbors on both sides along the bar were bar pixels. In a bar three pixels long only the two pixels of its middle row passed, so its color had fewer than the three pixels a color needs and was not added to the palette. A pixel now counts when it lies at either end or in the middle of three such pixels in a row, so all six pixels of a 2 × 3 bar count.