From 76bde1498c60176a4da6a4f92355e5bde97a45ea Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 25 May 2022 23:56:45 -0500 Subject: [PATCH] fix validate test --- tests/validate_jpeg.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)