<commit_before># Legofy [![Build Status](https://travis-ci.org/JuanPotato/Legofy.svg?branch=master)](https://travis-ci.org/JuanPotato/Legofy)

### What is it?
Legofy is a python program that takes a static image or gif and makes it so that it looks as if it was created by legos.

Ex: [before](https://github.com/JuanPotato/Legofy/blob/master/tests/image.jpg?raw=true) and [after](https://github.com/JuanPotato/Legofy/blob/master/tests/lego_image.png?raw=true)

### Requirments
* Python
* Python modules: Pillow, click
* imagemagick ~(except windows, binary included because reasons)~

### Bugs
* nothing

### TODO
* Make an optional argument to only allow official lego colors

### Examples (it is ok if any of the images are not small, the program automatically shrinks them down)
* Need to make new ones, soon<commit_msg>embedded example images<commit_after># Legofy [![Build Status](https://travis-ci.org/JuanPotato/Legofy.svg?branch=master)](https://travis-ci.org/JuanPotato/Legofy)

### What is it?
Legofy is a python program that takes a static image or gif and makes it so that it looks as if it was created by legos.

<img alt="Before" title="Before" height="500" src="https://github.com/JuanPotato/Legofy/blob/master/tests/image.jpg?raw=true">
<img alt="After" title="After" height="500" src="https://github.com/JuanPotato/Legofy/blob/master/tests/lego_image.png?raw=true">

### Requirments
* Python
* Python modules: Pillow, click
* imagemagick ~(except windows, binary included because reasons)~

### Bugs
* nothing

### TODO
* Make an optional argument to only allow official lego colors

### Examples (it is ok if any of the images are not small, the program automatically shrinks them down)
* Need to make new ones, soon
{'fraction_non_alphanumeric': 0.1250720461095101, 'fraction_numerical': 0.00345821325648415, 'mean_word_length': 5.134275618374558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6729586', 'n_tokens_mistral': 572, 'n_tokens_neox': 558, 'n_words': 181}