You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result = [os.path.join(dp, f) for dp, dn, filenames in os.walk(sys.argv[1]) for f in filenames if os.path.splitext(f)[1] == '.jpegxl']
for each in result:
print (each)
stri = []
stri = each.split(".")
imageDeCompress(stri[0] + "." + stri[1])
time.sleep(2)
fileSize = 0
fileSizeOne = 0
for each in result:
fileSize += os.path.getsize(each)
resultOne = [os.path.join(dp, f) for dp, dn, filenames in os.walk(sys.argv[1]) for f in filenames if os.path.splitext(f)[1] == '.png' or os.path.splitext(f)[1] == '.jpg']