A simple script that can render raw RGB data into a JPEG image.
- Python
- Python Pip
- 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
Simple run python render.py in a terminal opened from the folder you cloned to.
This will run you through the required options.
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
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'.
- 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
Distributed under the GNU General Public License V3.
See LICENSE for more details.
Vincent van Setten - @Vvamp - school@vincentvansetten.com
Project: Image Renderer
