Jason (jcreed) wrote,
Jason
jcreed

So potrace is really great at turning bitmap images to vectors, but I wanted something that could handle images with lots of distinct abutting regions... so I just decided to write it myself. Hilariously I have put off the part that actually does any optimization at all of the raw pixel-by-pixel paths, but I do have a thing that can turn

into the following interactive widget:
http://jcreed.org/js/mapdigester

(it didn't automatically choose how to color the regions; I just did that manually after the fact. Clicking changes a region to the current color, 1-7 number keys change current color)
Tags: maps
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment