— A small program written in Java that coverts an image into vector outlines
in a format (.fxg) that can be imported into flash.
ImageToVectorToFlash_v0.4.0.rar (230 KiB) — Extracts to 416 KiB.
Designed to run on Windows. Requires Java 7 or higher.
If the program doesn't start, right-click "! Run ImageToVectorToFlash.bat" and select Edit.
Then replace "javaw" with the complete path to javaw.exe on your machine so the line reads like this:
start "ImageToVectorToFlash" "C:\<your path to java here>\jre<version>\bin\javaw.exe" -Xmx5000m -jar programJar
You can also try changing -Xmx5000m to something lower, like -Xmx1000m, or removing it completely.
ImageToVectorToFlash works good when there are strongly defined outlines that contrast heavily with fill colors in the image.
The program loves cartoons and lossless formats (such as PNG). The program hates photographs or art where the colors blend into each other. Lossy image compression could ruin the edge detection as well since there will be artifacts around edges (low quality JPG images).
You can use this program to create SVG graphics for your website or T-shirt printer. Import art into your favorite graphics editor and use it to evolve your skills. Use it to get various graphics such as icons into your flash game. Or to create porn: chop lines up, add some tweens and a bit of color, bake with audio effects plus music and you're done.
Colored SVG and colored FXG would be nice.
+ No "air bubbles"
Allow the edge detection to fill out whole lines regardless of how thick they are.
+ Two lines to one line
Would be nice if the two lines that make up the edges of a single outline could be turned into one line that represents the actual outline instead of the edges of it.
+ Multiple thresholds
Being able to select parts of the image by drawing on it that should have less or more threshold than the set base value.
+ Path simplification
Turn two or more line segments into one if they have a similar angle.
Bezier curves would turn multiple line segments into one and still have things looking smooth.
+ Grayscale algorithms
Edge detection is done on a grayscale version of the image, picking different grayscale calculations could affect how well edge detection works.
+ Removing non-shades
Removing colors that aren't shades (such as black or dark gray) would prevent the program from detecting edges inside color fills (common when non-gradient shadows are used in an image).
+ Reducing color count
Reducing the number of colors in an image can help to remove JPG artifacts that might mess up edge detection.
+ Animated GIFs
Being able to easily convert an animated GIF into several vector frames would be handy.
0.4.0 (9jul2015) r1+ Initial release.
Questions or comments? Want an update?
Please post about ImageToVectorToFlash in its discussion thread.