Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pranjalwalia/pixel_art_generator
A python script to pixilate most jpeg,jpg,png files developed as python project for the first semester.
https://github.com/pranjalwalia/pixel_art_generator
Last synced: 1 day ago
JSON representation
A python script to pixilate most jpeg,jpg,png files developed as python project for the first semester.
- Host: GitHub
- URL: https://github.com/pranjalwalia/pixel_art_generator
- Owner: pranjalwalia
- Created: 2020-01-08T15:33:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T16:15:42.000Z (about 5 years ago)
- Last Synced: 2024-04-11T15:42:11.477Z (10 months ago)
- Language: Python
- Homepage:
- Size: 4.58 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pixel Art Generator
A python script that can be used to pixilate most jpeg, jpg, png images according to the user specified pixel dimensions.
## Getting Started
### Prerequisites
The script uses the following python libraries:
* [NumPy](https://numpy.org/)
* [Pillow](https://pypi.org/project/Pillow/)
* [matplotlib](https://matplotlib.org/)
* [scipy](http://www.dropwizard.io/1.0.2/docs/)
* [PIL](http://www.dropwizard.io/1.0.2/docs/)### Installing
In the terminal, execute the following commands after cloning the project on your local machine:
* Installing pip3:
`
sudo apt-get -y install python3-pip
`* Installing NumPy
`sudo pip3 install numpy`
* Install Pillow
`sudo pip3 install Pillow==2.2.1`
* Install PIL
`sudo pip3 install pil`
* Install scipy
`sudo pip install git+https://github.com/scipy/scipy.git`
## Running
### Important
`Give the absolute path of the test image in the main function of the script in main.py before running the script`Execute `python3 main.py` in the project directory to run the script.
* ##### The script may take some time to pixilate the images that are relatively larger in size.
* ##### Also it is advised to not try to pixilate full HD or 4K images as these may cause overflow errors.
* #### I have also given some sample images for the user to try the script in the images folder.## Contributing
To raise issues, request a feature or contribute, visit [here](https://github.com/masterchief01/Pixel_art_generator).