diff --git a/tests/validate_jpeg.nim b/tests/validate_jpeg.nim index 3f296c6..ce62a7c 100644 --- a/tests/validate_jpeg.nim +++ b/tests/validate_jpeg.nim @@ -9,7 +9,7 @@ for file in jpegSuiteFiles: let genFile = file.replace("masters", "generated").replace(".jpg", ".png") img.writeFile(genFile) - if execShellCmd(&"magick {file} {genFile}") != 0: + if execShellCmd(&"magick {file} -auto-orient {genFile}") != 0: echo "fail" var img2 = readImage(genFile)