Giter VIP home page Giter VIP logo

svg_crop's Introduction

SVG Crop

Remove blank space from around any SVG instantly.

Contributions

Open up an issue! Then:

  • Clone and run yarn && yarn start:dev
  • Submit a PR (I can then build and deploy it on my end)

Note that I've started the process of converting the components to TypeScript.

Developing with https

For the PWA to work correctly in development, the site must be served in a secure context. To run the application in a secure context:

  1. Install mkcert & follow the instructions for installing a local certificate authority.
  2. Run yarn gen:cert
  3. yarn dev:https
  4. ๐Ÿ’ต

svg_crop's People

Contributors

jamiehaywood avatar sdennett55 avatar wolfmans55 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

svg_crop's Issues

SVG needs to be ON the dom

Anyone who is here in the future, here is two days of my life....

In order for getBoundlingClientRect() to work, the svg object needs to be on the DOM, otherwise, everything returned is 0. I hope this helps someone.

Make PWA / installable

hi Steve, can't tell you how awesome this site is, will save me a load of time.

It would be good to make it a PWA so that users can install from Chrome onto the desktop.

Happy to raise a PR for this.

Cheers

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.