Giter VIP home page Giter VIP logo

mimage's Introduction


Logo

Mimage

A library for reading images in pure* Mojo ๐Ÿ”ฅ

*Not pure Mojo yet, but hopefully soon.

About The Project

Mimage is a image manipulation library loosely based on Python's Pillow. The goal is to be able to read and write the most popular image formats directly from Mojo.

Quick Start

Basic usage:

import mimage as mi

def main():

  tensor = mi.imread("my/png/image.png")

Try out the tests yourself:

mojo -I .  tests/test_open_png.mojo

Roadmap

v0.1.0 โœ…

  • Read simple 8-bit PNGs

Near term

  • Read jpegs

Medium term

  • Read more complex PNGs
  • Write PNGs
  • Write jpegs

Long term

  • v1.0.0 will be achieved when Mimage can open all the same images as Pillow.

Contributing

Before creating a new issue, please:

  • Check if the issue already exists. If an issue is already reported, you can contribute by commenting on the existing issue.
  • If not, create a new issue and include all the necessary details to understand/recreate the problem or feature request.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Once your changes are pushed, navigate to your fork on GitHub. And create a pull request against the original fnands/mimage repository.

  • Before creating a PR make sure it doesn't break any of the unit-tests. (e.g. mojo -I . tests/test_open_png.mojo)
  • Introducing new big features requires a new test!
  • In the pull request, provide a detailed description of the changes and why they're needed. Link any relevant issues.
  • If there are any specific instructions for testing or validating your changes, include those as well.

License

Distributed under the Apache 2.0 License with LLVM Exceptions. See LICENSE and the LLVM License for more information.

Acknowledgements

mimage's People

Contributors

fnands avatar

Stargazers

Amit D. avatar Vikram avatar Wei-Chen.Chen avatar  avatar Cyrill avatar Stijn Woestenborghs avatar Martin Dudek avatar

Watchers

 avatar

Forkers

zegnat

mimage's Issues

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.