Joes fancy image converter by boinary · Pull Request #10 · CRTC-Computer-Engineering/CRTC-Python-Examples · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bb332c3
This program converts a whole image to a string, pretty nifty eh?
KenwoodFox Nov 5, 2019
3f77663
This stuff works bby
KenwoodFox Nov 5, 2019
54c1ff0
it works here!
KenwoodFox Nov 5, 2019
d0d4ceb
rendered mcc
KenwoodFox Nov 5, 2019
f989f92
doot
KenwoodFox Nov 5, 2019
7d99dd6
Here aidan, this will convert a bitmap for u <3
KenwoodFox Nov 6, 2019
ddbd68d
rock and roll and other lateral transforms
KenwoodFox Nov 7, 2019
5b394ad
Add files via upload
boinary Nov 12, 2019
46f1d1f
Image render now does the WHOLE THING
KenwoodFox Nov 13, 2019
f31b1ef
Update as release!
KenwoodFox Nov 13, 2019
50ab252
Added all compatable codehs colors!
KenwoodFox Nov 13, 2019
544e7de
Add ability to shuffle list
KenwoodFox Nov 13, 2019
73e8e63
Deprciate shuffle_list.py
KenwoodFox Nov 13, 2019
f91e374
Add default image as CE logo
KenwoodFox Nov 13, 2019
2947787
Add default code to repo
KenwoodFox Nov 13, 2019
efb7b0c
Remove old images
KenwoodFox Nov 13, 2019
4aad69a
Add docs
KenwoodFox Nov 13, 2019
7e874ec
Update readme.md
KenwoodFox Nov 13, 2019
4b9b081
Create requirements.txt for easy instalation
KenwoodFox Nov 14, 2019
50aaa07
Add option to remove existing file
KenwoodFox Nov 14, 2019
b8502f6
Add loading bar
KenwoodFox Nov 14, 2019
fd16477
Hotfix the file removal
KenwoodFox Nov 14, 2019
fbb0ee6
Update output.py
KenwoodFox Nov 14, 2019
c8333c0
Now it outputs the progres yay and cool
KenwoodFox Nov 14, 2019
92f0e5c
Only go forward one px instead of `res`
KenwoodFox Nov 14, 2019
a367364
Rearrange something
KenwoodFox Nov 15, 2019
c93311c
Make program production Ready
KenwoodFox Nov 15, 2019
80ccf9d
Tune color values
KenwoodFox Nov 17, 2019
2e083c8
Fix Syntax
KenwoodFox Nov 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions Image-Dict/convert.py
Binary file added Image-Dict/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Image-Dict/output.py

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions Image-Dict/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#You need `numpy` and `PIL` to use this software.

To use: Replace the default image.png with your own image.

Scale your image to a width of 400 (height can be other)

Delete an existing output.py if it exists

Run convert.py

wait for the program to finish, you should see a lot of scrolling text.

Once completed, copy and paste the contents of output.py into codehs

press run

tada!
2 changes: 2 additions & 0 deletions Image-Dict/requirements.txt