Em Qui, 2013-09-19 às 14:08 +0200, Tavmjong Bah escreveu:
3) Voronoi diagram mode doesn't seem to merge adjacent "pixels" with
same color values.

That's the output of a Voronoi diagram. Several cells which contain all pixels that are closer to it than any other cell.

If user want to apply filters or add border, this output is more useful. And it's possible to sum the cells together, but the inverse process...

4) A future improvement would be to merge adjacent "pixels" if they can
be represented by a single path with a gradient.

I've been thinking about create gradients (for similar colors) and simplify paths, but I still don't know how to properly implement this feature. I mean... what would be the center of the gradient? Maybe a linear gradient is not enough (depending on the input image).

When I play with the output of libdepixelize in Inkscape and manually add a gradient for similar colors, the result gets smooth and cool, but I wouldn't say it's "correct" (because of concerns highlighted in previous paragraph). Also, current implementation is "reversible" (you can get the original pixel art from libdepixelize output rendering to the 1:1 size and disabling antialiasing), but this change (gradient) would break this cool property.


--
Vinícius dos Santos Oliveira
https://about.me/vinipsmaker