Fix width and height being reported in wrong order

This commit is contained in:
ISSOtm
2022-07-10 12:14:24 +02:00
parent 6a51e39a5c
commit b53c115ec2

View File

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