- Python 100%
| .github | ||
| tests | ||
| .travis.yml | ||
| LICENSE | ||
| metadata.txt | ||
| README.md | ||
| render.py | ||
| requirements.txt | ||
Image Renderer
A simple script that can render raw RGB data into a JPEG image.
Table of Contents
Getting Started
Prerequisites
- Python
- Python Pip
Installation
- Clone this project somewhere you like
git clone https://github.com/Vvamp/ImageRenderer
- Cd into the project directory
cd ImageRenderer
- Install the required modules
pip install -r requirements.txt
Usage
Automatic Options
Simple run python render.py in a terminal opened from the folder you cloned to.
This will run you through the required options.
Command Line Arguments
There are a lot of command line arguments you can pass.
For example: python render.py -h shows all the available command line arguments and their usage.
The command python render.py -o my_image.jpg exports the rendered image into a file name 'my_image.jpg'.
See python render.py -h for a list of commands
Tests
You can test the code by running python render.py --path tests/test.txt -o tests/test.jpg --findx --findy -q.
This should generate an image file within the tests folder called 'test.jpg' and should look identical to the 'test-target.jpg'.
Test Image
Contributing
- Fork the project
- Create a feature branch:
git checkout -b feature/<FeatureName> - Make your changes
- Commit your changes:
git commit -m "<Describe your changes" - Push to the branch:
git push origin feature/<FeatureName> - Open a pull request
License
Distributed under the GNU General Public License V3.
See LICENSE for more details.
Contact
Vincent van Setten - @Vvamp - school@vincentvansetten.com
Project: Image Renderer
