diff options
author | xultist <xultist@proton.me> | 2023-02-19 03:39:52 -0800 |
---|---|---|
committer | xultist <xultist@proton.me> | 2023-02-19 03:39:52 -0800 |
commit | f060221b77706d17d124bfa2b74ae16aaf7818cc (patch) | |
tree | 06ba1064c0cbc4952d02229e133b09350b01d494 | |
parent | a14b7cf1e667f0f17c462206d99b364d20eb76d4 (diff) |
Delete 'codedetec.py'
Signed-off-by: xultist <xultist@proton.me>
-rw-r--r-- | codedetec.py | 16 |
1 files changed, 0 insertions, 16 deletions
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') - |