AuthorTopic: pixel2svg - convert pixel art to crisp blocky SVG  (Read 9291 times)

Offline fberger

  • 0001
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile

pixel2svg - convert pixel art to crisp blocky SVG

on: July 22, 2011, 06:21:48 am
Hi folks,

I've just released the first version of the pixel2svg tool.

It takes a pixel art image and converts it to SVG in a pixel by pixel fashion, creating a vector square for every pixel (i.e. it's not a tracing program).

The rationale is to be able to conveniently enlarge pixel art for printing, creating PDF etc., or simply to have a pure-vector representation of the image.

The tool is at http://florian-berger.de/en/software/pixel2svg

This is the very first release, and I think it's rather inconvenient if you are on a MS Windows box. :blind: It's a command-line tool and currently requires Python, the Python Imaging Library and the svgwrite module to be installed.

If someone is interested, I could bundle up a version with all prerequisites included or even create a binary .exe version for MS Windows in the next release.

Regards,
fberger

Offline michelcote

  • 0001
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile

Re: pixel2svg - convert pixel art to crisp blocky SVG

Reply #1 on: July 22, 2011, 02:37:04 pm
Certainly looks useful from your website's description. I'm running Windows, so no luck for me but I am interested in an .exe release.  :)

Offline Argyle

  • 0010
  • *
  • Posts: 269
  • Karma: +1/-1
  • Futuristic beep boop.
    • argylebox
    • http://pixeljoint.com/p/13899.htm
    • valsaurus
    • View Profile
    • ArgyleBox | Designs by Valouria Saurus (VERY OUTDATED)

Re: pixel2svg - convert pixel art to crisp blocky SVG

Reply #2 on: July 24, 2011, 12:48:14 am
Looks intriguing! I would love having a way to convert pixel data to vector, but I too am only running windows workstations. Have been many instances where I've had to size things up to 3000%  just to have a decent raster output for shirt graphics, but this would be handy.

Offline Mathias

  • 0100
  • ***
  • Posts: 1797
  • Karma: +2/-0
  • Goodbye.
    • http://pixeljoint.com/p/9542.htm
    • View Profile

Re: pixel2svg - convert pixel art to crisp blocky SVG

Reply #3 on: July 24, 2011, 03:04:55 am
I came across a similar if not identical site just the other day searching some solution to some problem at work - http://www.drububu.com/tutorial/bitmaptovector.html

I have not personally tested it.

Argyle, have you ever gotten Illustrator's live trace to work for this? Maybe scaling up by increments of 100%, like you just alluded to, before attempting the trace?

Then there's this of course, but it kinda ruins everything hehe.

Offline NickZA

  • 0001
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
    • Handcrafted Games

Re: pixel2svg - convert pixel art to crisp blocky SVG

Reply #4 on: July 25, 2011, 12:51:45 pm
Actually, Flash is able to convert bitmaps to vectors, using the "break apart" feature IIRC. Then you can export these to eg. Illustrator.

Offline PypeBros

  • 0100
  • ***
  • Posts: 1220
  • Karma: +2/-0
  • Pixel Padawan
    • PypeBros
    • View Profile
    • Bilou Homebrew's Blog.

Re: pixel2svg - convert pixel art to crisp blocky SVG

Reply #5 on: August 01, 2011, 09:05:07 am
I've just released the first version of the pixel2svg tool.

It takes a pixel art image and converts it to SVG in a pixel by pixel fashion, creating a vector square for every pixel (i.e. it's not a tracing program).

The rationale is to be able to conveniently enlarge pixel art for printing, creating PDF etc., or simply to have a pure-vector representation of the image.

That could be helpful to merge adjacent pixels into larger shapes, esp. for "mid-tones" while highlight and shadows would be overlaid over the larger "flat picture". but that might already be handy to avoid default JPEG compression killing pixel art here and there :)