Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyAlexisVass committed Nov 19, 2023
1 parent 23b81be commit c2bb362
Show file tree
Hide file tree
Showing 607 changed files with 172 additions and 0 deletions.
20 changes: 20 additions & 0 deletions correct
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from PIL import Image
import os

def convert_png_to_jpg(png_path, jpg_path):
im = Image.open(png_path)
rgb_im = im.convert('RGB')
rgb_im.save(jpg_path)
os.remove(png_path)
print(f"Converted: {png_path} to {jpg_path}")

def convert_folder(folder_path):
for filename in os.listdir(folder_path):
if filename.endswith(".png"):
png_path = os.path.join(folder_path, filename)
jpg_path = os.path.join(folder_path, os.path.splitext(filename)[0] + ".jpg")
convert_png_to_jpg(png_path, jpg_path)

if __name__ == "__main__":
folder_path = "./"
convert_folder(folder_path)
Binary file added correction0_0_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_100.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_30.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_40.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_50.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_60.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_70.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_80.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_0_90.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_100.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_30.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_40.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_50.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_60.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_70.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_80.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_100_90.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_10_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_10_10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_10_100.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added correction0_10_20.jpg
Binary file added correction0_10_30.jpg
Binary file added correction0_10_40.jpg
Binary file added correction0_10_50.jpg
Binary file added correction0_10_60.jpg
Binary file added correction0_10_70.jpg
Binary file added correction0_10_80.jpg
Binary file added correction0_10_90.jpg
Binary file added correction0_20_0.jpg
Binary file added correction0_20_10.jpg
Binary file added correction0_20_100.jpg
Binary file added correction0_20_20.jpg
Binary file added correction0_20_30.jpg
Binary file added correction0_20_40.jpg
Binary file added correction0_20_50.jpg
Binary file added correction0_20_60.jpg
Binary file added correction0_20_70.jpg
Binary file added correction0_20_80.jpg
Binary file added correction0_20_90.jpg
Binary file added correction0_30_0.jpg
Binary file added correction0_30_10.jpg
Binary file added correction0_30_100.jpg
Binary file added correction0_30_20.jpg
Binary file added correction0_30_30.jpg
Binary file added correction0_30_40.jpg
Binary file added correction0_30_50.jpg
Binary file added correction0_30_60.jpg
Binary file added correction0_30_70.jpg
Binary file added correction0_30_80.jpg
Binary file added correction0_30_90.jpg
Binary file added correction0_40_0.jpg
Binary file added correction0_40_10.jpg
Binary file added correction0_40_100.jpg
Binary file added correction0_40_20.jpg
Binary file added correction0_40_30.jpg
Binary file added correction0_40_40.jpg
Binary file added correction0_40_50.jpg
Binary file added correction0_40_60.jpg
Binary file added correction0_40_70.jpg
Binary file added correction0_40_80.jpg
Binary file added correction0_40_90.jpg
Binary file added correction0_50_0.jpg
Binary file added correction0_50_10.jpg
Binary file added correction0_50_100.jpg
Binary file added correction0_50_20.jpg
Binary file added correction0_50_30.jpg
Binary file added correction0_50_40.jpg
Binary file added correction0_50_50.jpg
Binary file added correction0_50_60.jpg
Binary file added correction0_50_70.jpg
Binary file added correction0_50_80.jpg
Binary file added correction0_50_90.jpg
Binary file added correction0_60_0.jpg
Binary file added correction0_60_10.jpg
Binary file added correction0_60_100.jpg
Binary file added correction0_60_20.jpg
Binary file added correction0_60_30.jpg
Binary file added correction0_60_40.jpg
Binary file added correction0_60_50.jpg
Binary file added correction0_60_60.jpg
Binary file added correction0_60_70.jpg
Binary file added correction0_60_80.jpg
Binary file added correction0_60_90.jpg
Binary file added correction0_70_0.jpg
Binary file added correction0_70_10.jpg
Binary file added correction0_70_100.jpg
Binary file added correction0_70_20.jpg
Binary file added correction0_70_30.jpg
Binary file added correction0_70_40.jpg
Binary file added correction0_70_50.jpg
Binary file added correction0_70_60.jpg
Binary file added correction0_70_70.jpg
Binary file added correction0_70_80.jpg
Binary file added correction0_70_90.jpg
Binary file added correction0_80_0.jpg
Binary file added correction0_80_10.jpg
Binary file added correction0_80_100.jpg
Binary file added correction0_80_20.jpg
Binary file added correction0_80_30.jpg
Binary file added correction0_80_40.jpg
Binary file added correction0_80_50.jpg
Binary file added correction0_80_60.jpg
Binary file added correction0_80_70.jpg
Binary file added correction0_80_80.jpg
Binary file added correction0_80_90.jpg
Binary file added correction0_90_0.jpg
Binary file added correction0_90_10.jpg
Binary file added correction0_90_100.jpg
Binary file added correction0_90_20.jpg
Binary file added correction0_90_30.jpg
Binary file added correction0_90_40.jpg
Binary file added correction0_90_50.jpg
Binary file added correction0_90_60.jpg
Binary file added correction0_90_70.jpg
Binary file added correction0_90_80.jpg
Binary file added correction0_90_90.jpg
Binary file added correction100_0_0.jpg
Binary file added correction100_0_10.jpg
Binary file added correction100_0_100.jpg
Binary file added correction100_0_20.jpg
Binary file added correction100_0_30.jpg
Binary file added correction100_0_40.jpg
Binary file added correction100_0_50.jpg
Binary file added correction100_0_60.jpg
Binary file added correction100_0_70.jpg
Binary file added correction100_0_80.jpg
Binary file added correction100_0_90.jpg
Binary file added correction100_100_0.jpg
Binary file added correction100_100_10.jpg
Binary file added correction100_100_100.jpg
Binary file added correction100_100_20.jpg
Binary file added correction100_100_30.jpg
Binary file added correction100_100_40.jpg
Binary file added correction100_100_50.jpg
Binary file added correction100_100_60.jpg
Binary file added correction100_100_70.jpg
Binary file added correction100_100_80.jpg
Binary file added correction100_100_90.jpg
Binary file added correction100_10_0.jpg
Binary file added correction100_10_10.jpg
Binary file added correction100_10_100.jpg
Binary file added correction100_10_20.jpg
Binary file added correction100_10_30.jpg
Binary file added correction100_10_40.jpg
Binary file added correction100_10_50.jpg
Binary file added correction100_10_60.jpg
Binary file added correction100_10_70.jpg
Binary file added correction100_10_80.jpg
Binary file added correction100_10_90.jpg
Binary file added correction100_20_0.jpg
Binary file added correction100_20_10.jpg
Binary file added correction100_20_100.jpg
Binary file added correction100_20_20.jpg
Binary file added correction100_20_30.jpg
Binary file added correction100_20_40.jpg
Binary file added correction100_20_50.jpg
Binary file added correction100_20_60.jpg
Binary file added correction100_20_70.jpg
Binary file added correction100_20_80.jpg
Binary file added correction100_20_90.jpg
Binary file added correction100_30_0.jpg
Binary file added correction100_30_10.jpg
Binary file added correction100_30_100.jpg
Binary file added correction100_30_20.jpg
Binary file added correction100_30_30.jpg
Binary file added correction100_30_40.jpg
Binary file added correction100_30_50.jpg
Binary file added correction100_30_60.jpg
Binary file added correction100_30_70.jpg
Binary file added correction100_30_80.jpg
Binary file added correction100_30_90.jpg
Binary file added correction100_40_0.jpg
Binary file added correction100_40_10.jpg
Binary file added correction100_40_100.jpg
Binary file added correction100_40_20.jpg
Binary file added correction100_40_30.jpg
Binary file added correction100_40_40.jpg
Binary file added correction100_40_50.jpg
Binary file added correction100_40_60.jpg
Binary file added correction100_40_70.jpg
Binary file added correction100_40_80.jpg
Binary file added correction100_40_90.jpg
Binary file added correction100_50_0.jpg
Binary file added correction100_50_10.jpg
Binary file added correction100_50_100.jpg
Binary file added correction100_50_20.jpg
Binary file added correction100_50_30.jpg
Binary file added correction100_50_40.jpg
Binary file added correction100_50_50.jpg
Binary file added correction100_50_60.jpg
Binary file added correction100_50_70.jpg
Binary file added correction100_50_80.jpg
Binary file added correction100_50_90.jpg
Binary file added correction100_60_0.jpg
Binary file added correction100_60_10.jpg
Binary file added correction100_60_100.jpg
Binary file added correction100_60_20.jpg
Binary file added correction100_60_30.jpg
Binary file added correction100_60_40.jpg
Binary file added correction100_60_50.jpg
Binary file added correction100_60_60.jpg
Binary file added correction100_60_70.jpg
Binary file added correction100_60_80.jpg
Binary file added correction100_60_90.jpg
Binary file added correction100_70_0.jpg
Binary file added correction100_70_10.jpg
Binary file added correction100_70_100.jpg
Binary file added correction100_70_20.jpg
Binary file added correction100_70_30.jpg
Binary file added correction100_70_40.jpg
Binary file added correction100_70_50.jpg
Binary file added correction100_70_60.jpg
Binary file added correction100_70_70.jpg
Binary file added correction100_70_80.jpg
Binary file added correction100_70_90.jpg
Binary file added correction100_80_0.jpg
Binary file added correction100_80_10.jpg
Binary file added correction100_80_100.jpg
Binary file added correction100_80_20.jpg
Binary file added correction100_80_30.jpg
Binary file added correction100_80_40.jpg
Binary file added correction100_80_50.jpg
Binary file added correction100_80_60.jpg
Binary file added correction100_80_70.jpg
Binary file added correction100_80_80.jpg
Binary file added correction100_80_90.jpg
Binary file added correction100_90_0.jpg
Binary file added correction100_90_10.jpg
Binary file added correction100_90_100.jpg
Binary file added correction100_90_20.jpg
Binary file added correction100_90_30.jpg
Binary file added correction100_90_40.jpg
Binary file added correction100_90_50.jpg
Binary file added correction100_90_60.jpg
Binary file added correction100_90_70.jpg
Binary file added correction100_90_80.jpg
Binary file added correction100_90_90.jpg
Binary file added correction25_0_0.jpg
Binary file added correction25_0_10.jpg
Binary file added correction25_0_100.jpg
Binary file added correction25_0_20.jpg
Binary file added correction25_0_30.jpg
Binary file added correction25_0_40.jpg
Binary file added correction25_0_50.jpg
Binary file added correction25_0_60.jpg
Binary file added correction25_0_70.jpg
Binary file added correction25_0_80.jpg
Binary file added correction25_0_90.jpg
Binary file added correction25_100_0.jpg
Binary file added correction25_100_10.jpg
Binary file added correction25_100_100.jpg
Binary file added correction25_100_20.jpg
Binary file added correction25_100_30.jpg
Binary file added correction25_100_40.jpg
Binary file added correction25_100_50.jpg
Binary file added correction25_100_60.jpg
Binary file added correction25_100_70.jpg
Binary file added correction25_100_80.jpg
Binary file added correction25_100_90.jpg
Binary file added correction25_10_0.jpg
Binary file added correction25_10_10.jpg
Binary file added correction25_10_100.jpg
Binary file added correction25_10_20.jpg
Binary file added correction25_10_30.jpg
Binary file added correction25_10_40.jpg
Binary file added correction25_10_50.jpg
Binary file added correction25_10_60.jpg
Binary file added correction25_10_70.jpg
Binary file added correction25_10_80.jpg
Binary file added correction25_10_90.jpg
Binary file added correction25_20_0.jpg
Binary file added correction25_20_10.jpg
Binary file added correction25_20_100.jpg
Binary file added correction25_20_20.jpg
Binary file added correction25_20_30.jpg
Binary file added correction25_20_40.jpg
Binary file added correction25_20_50.jpg
Binary file added correction25_20_60.jpg
Binary file added correction25_20_70.jpg
Binary file added correction25_20_80.jpg
Binary file added correction25_20_90.jpg
Binary file added correction25_30_0.jpg
Binary file added correction25_30_10.jpg
Binary file added correction25_30_100.jpg
Binary file added correction25_30_20.jpg
Binary file added correction25_30_30.jpg
Binary file added correction25_30_40.jpg
Binary file added correction25_30_50.jpg
Binary file added correction25_30_60.jpg
Binary file added correction25_30_70.jpg
Binary file added correction25_30_80.jpg
Binary file added correction25_30_90.jpg
Binary file added correction25_40_0.jpg
Binary file added correction25_40_10.jpg
Loading

0 comments on commit c2bb362

Please sign in to comment.