Corrige varias cosas

This commit is contained in:
2026-07-20 14:52:07 +02:00
parent 6ae2dba12b
commit 96656bccb7
3 changed files with 388 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ for folder,subfolder,files in os.walk(directory):
for filename in files:
if filename.lower().endswith(".heic") or filename.lower().endswith(".HEIC"):
print('Converting %s' % os.path.join(folder, filename))
bashCommand = "heif-convert -q 100 \'/home/jesusjmma/proj/LogoImagenes/"+folder+"/"+filename+"\' \'/home/jesusjmma/proj/LogoImagenes/"+folder+"/"+filename.replace('.HEIC', '.jpg')+"\'"
bashCommand = "heif-convert -q 100 \'./"+folder+"/"+filename+"\' \'./"+folder+"/"+filename.replace('.HEIC', '.jpg')+"\'"
print(bashCommand)
result = subprocess.run([bashCommand], shell=True)
continue