Skip to content

kjbrum/pxtosvg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

PX to SVG (WIP)

A simple WordPress plugin that will allow users to upload raster images and convert them to usable SVGs with a shortcode.

Shortcode

To-Do

  • Check if filename already exists when converting and uploading
  • Add a "Library" page (shows all the SVGs)
  • Batch file upload
  • Add a settings page (save dir, default threshold, compress/not compress SVG, etc...)
  • Add support for PNG somehow? Example 1, Example 2
  • [ ]Shortcode
    • Get all the attributes working (color, width, height)
    • How-to in the readme
    • Add a button above the editor to insert a shortcode (able to choose from created SVGs)
  • Add the uploaded image as fallback, or include a field
  • Create an SVG sprite? Example
  • Add the ability to edit the SVG's?
  • Inspiration for smaller filesize

Credit

Credit to Eric Meyer, Amelia Bellamy-Royds, Robin Cafolla, and Neal Brooks for the conversion script.

Changelog

About

A simple WordPress plugin that will allow users to upload raster images and convert them to usable SVGs with a shortcode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages