GithubHelp home page GithubHelp logo

ansh3ll / graphics-extensions-for-solar2d Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 93.81 MB

An extension to Solar2D's supported image formats. Provides full decoding support for SVG, WEBP & QOI. Also includes support for PNG & JPEG

License: MIT License

Lua 2.16% Batchfile 0.03% Makefile 0.46% C++ 66.79% C 30.57%
corona-sdk coronasdk image-decoding image-manipulation plugin qoi solar2d svg webp

graphics-extensions-for-solar2d's Introduction

Graphics Extensions for Solar2D

Extend your graphical might with some of the greatest image formats available

Rationale

Would you like to support high screen resolutions without bloating up your app/game with duplicate images of varying sizes?

Would you like to play short animations on loop like GIFs or animated stickers?

Is the nanosvg plugin too inaccurate/slow/minimal?

Are the standard image formats supported by Solar2D too antiquated for you?

Fear not, for the solution to your woes is finally at hand.

Features

  • Load and manipulate vector graphics with extensive support for the SVG1.1 and much of the SVG2.0 spec
  • Load and play animated WEBP images
  • Load and display images of the QOI format
  • Load static and scalable images as masking textures
  • Modify and re-render scalable graphics in real-time
  • Much better SVG support and rendering output than the competition
  • Load images from disk or memory
  • Supports SVG / SVGZ, WEBP, QOI, PNG & JPEG image formats

Usage

Refer to example project and API documentation in the Corona/ directory

Credits

P/s

  • If you love this plugin and are willing to make a logo to spruce up this readme, I will credit you however you like (as long as it's reasonable) above
  • If you own a macOS device and are comfortable wrangling Rust (to build resvg), I'd appreciate your assistance with building the plugin for macOS and iOS and will credit you however you like (as long as it's reasonable) above

graphics-extensions-for-solar2d's People

Contributors

ansh3ll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

develephant

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.