diff options
author | xultist <xultist@proton.me> | 2023-02-19 22:50:30 +1100 |
---|---|---|
committer | xultist <xultist@proton.me> | 2023-02-19 22:50:30 +1100 |
commit | c94a37ddab11dc61fdef160b64ce1f7cbc699080 (patch) | |
tree | ad49785241f55eeb0c86202aee41ae18b34403ed | |
parent | a14b7cf1e667f0f17c462206d99b364d20eb76d4 (diff) |
Added Font
-rw-r--r-- | JetBrainsMono-Medium.ttf | bin | 0 -> 273860 bytes | |||
-rw-r--r-- | codedetec.py | 16 |
2 files changed, 0 insertions, 16 deletions
diff --git a/JetBrainsMono-Medium.ttf b/JetBrainsMono-Medium.ttf Binary files differnew file mode 100644 index 0000000..9767115 --- /dev/null +++ b/JetBrainsMono-Medium.ttf diff --git a/codedetec.py b/codedetec.py deleted file mode 100644 index 19a4073..0000000 --- a/codedetec.py +++ /dev/null @@ -1,16 +0,0 @@ -from PIL import Image -import sys - -# Get the file path from the command line argument -file_path = sys.argv[1] - -# Open the file and read its contents -with open(file_path, 'rb') as f: - file_contents = f.read() - -# Convert the file contents to an image -image = Image.frombytes('RGB', (100, 100), file_contents) - -# Save the image to a file -image.save('output.jpg') - |