Skip to content
/ pxtosvg Public

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

Notifications You must be signed in to change notification settings

kjbrum/pxtosvg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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