Git Product home page Git Product logo

pokemon-svg's Introduction

pokemon-svg

A collection of Pokemon SVGs. I claim no credit. I have merely assembled (read: caught) them all in this repo.

Docker

A Dockerfile and Makefile are included so that you can quickly and easily export images. Obviously, Docker is required and and Make is recommended.

The docker image finishes up at about 159.7 MB, mostly because of phantomjs.

Export all images with Make

make

Yup, that simple. Runs:

  • build - builds the docker container
  • docker - preps the container for repeat access, mounts volumes, etc.
  • images - processes all the images

Makefile options

Custom /out directory

After you have built the container, you can customize the /out directory if you do not want all the PNGs to show up here. Be sure the directory exists first.

Use the OUT=directory argument to send the PNGs elsewhere.

Example: Output PNGs to the /tmp directory
make OUT=/tmp docker
make images

Change the PNG export options

Same options as shakiba/svgexport. After you have built (make build) and started the container (make docker), you can customize the options for the PNGs if you want them at a different resolution.

Use the OPTS=options argument to modify the PNGs prior to export.

Example: Resize all images to max 24px wide
make OPTS=24: images
Example: Resize all images to max 128px tall
make OPTS=:128 images

Credit

License

The source icons are (c) Nintendo/Creatures Inc./GAME FREAK Inc./The Pokémon Company and used here under fair use in a non-commercial, open-source project.

pokemon-svg's People

Contributors

jnovack avatar claytono avatar

Watchers

James Cloos avatar  avatar

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.