Giter Club home page Giter Club logo

px2svg's People

Contributors

meyerweb avatar nealio82 avatar nyamsprod avatar robincafolla avatar waldyrious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

px2svg's Issues

Threshold for colour merging?

Should we add a second parameter threshold to allow colour compression? Similar colours, maybe based on hue, could be merged based on the supplied threshold value. That should lead to reduced file sizes.

I don't mind giving this a shot over the weekend if it's something worth adding.

Mangled test images

So here I am, filing an issue on my own project hoping someone can fix it…

I create a simple 'examples.php' file in the /test directory. It reads in all five test raster images and then displays the result of the converter script. Except, three out of five are mangled in some way, and with the red box, I don’t know how we’d tell if it was mangled. Anyone know why this is happening, and how to fix it? I suspect it has to do with the horizontal/vertical comparison, but I’m honestly not sure.

no download all buton

I have an entire font I have to export one letter at a time, it is kind of annoying to click the download SVG on each link, I would be grateful for a future to download all files I imported as a zip.

Threshold code broken (currently disabled)

There’s something broken with the threshold code. The problem: anything above a zero threshold makes it likely that the produced SVG will be massively smeared out and unrecognizable. This may be some sort of runaway consecutive-pixels thing, but I’m not certain. That’s just a guess based on the visual results.

As a workaround, at present, there are no threshold checks made, so every color comparison requires an exact match; if not, a new rect is created. It would be nice to restore the threshold code. If anyone wants to take a whack at it, please feel free. It may be some time before I get to the point of being able to tackle it in detail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.