You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be interesting to adapt this tracing algorithm to "vectorize" traditional user interface icons. In general, these icons are 16 colors or fewer and are 32 × 32 pixels (think of application icons and toolbar icons from the early to mid-1990s). The goal is to create scalable versions of these icons for display on screen, as follows:
When rendered without antialiasing or scaling, the vector graphic should closely match the pixel image.
Single-pixel, single-color line segments or curves should be rendered as line or curve commands.
The scaling factors should range from 50% to 300%.
Simple polygons of a single color in the input image should be rendered as such in the vector graphic.
I note that this repository's algorithm consists of a clustering step and a tracing step. In the context of this discussion, clustering should not combine pixels of different colors, except possibly to detect areas with a checkerboard dither pattern as a single color.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be interesting to adapt this tracing algorithm to "vectorize" traditional user interface icons. In general, these icons are 16 colors or fewer and are 32 × 32 pixels (think of application icons and toolbar icons from the early to mid-1990s). The goal is to create scalable versions of these icons for display on screen, as follows:
For details and an example, see my document "Converting Pixel Images to Vector Graphics".
I note that this repository's algorithm consists of a clustering step and a tracing step. In the context of this discussion, clustering should not combine pixels of different colors, except possibly to detect areas with a checkerboard dither pattern as a single color.
Beta Was this translation helpful? Give feedback.
All reactions