1. A method of generating a polygon mesh, comprising: scanning a plurality of lines of an image to determine one or more pixel run lengths of interest; building a collection of rectangles based on the one or more pixel run lengths from the plurality of lines; and simplifying the collection of rectangles by combining rectangles with similar widths and/or heights.