shithub: rgbds

Download patch

ref: b53c115ec29edbdf37fd79624a27272f55151961
parent: 6a51e39a5c57ef94b108f6c562c2503b9e88668c
author: ISSOtm <eldredhabert0@gmail.com>
date: Sun Jul 10 08:14:24 EDT 2022

Fix width and height being reported in wrong order

--- a/src/gfx/process.cpp
+++ b/src/gfx/process.cpp
@@ -254,8 +254,8 @@
 			}
 		};
 		options.verbosePrint(Options::VERB_INTERM,
-		                     "Input image: %" PRIu32 "x%" PRIu32 " pixels, %dbpp %s, %s\n", height,
-		                     width, bitDepth, colorTypeName(), interlaceTypeName());
+		                     "Input image: %" PRIu32 "x%" PRIu32 " pixels, %dbpp %s, %s\n", width,
+		                     height, bitDepth, colorTypeName(), interlaceTypeName());
 
 		if (png_get_PLTE(png, info, &embeddedPal, &nbColors) != 0) {
 			int nbTransparentEntries;