A method of edge-smoothing in raster images includes: selecting an object
in a raster image, the object including an edge having a plurality of
edge pixels; finding all of the edge pixels of the object and generating
a polygon having a plurality of vertices, each of which is located at the
center of a corresponding one of the edge pixels; smoothing the polygon
of the object to generate a smoothed polygon; and smoothing the object
according to the smoothed polygon.