aboutsummaryrefslogtreecommitdiff
path: root/jpgtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'jpgtest.c')
-rw-r--r--jpgtest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/jpgtest.c b/jpgtest.c
index a6edf04..a07a999 100644
--- a/jpgtest.c
+++ b/jpgtest.c
@@ -409,7 +409,10 @@ void dodecomptest(char *filename)
else
printf("\n>>>>> JPEG --> %s (%s) <<<<<\n", _pfname[pf],
bu?"Bottom-up":"Top-down");
- printf("\nImage size: %d x %d\n", w, h);
+ printf("\nImage size: %d x %d", w, h);
+ if(scalefactor!=1) printf(" --> %d x %d", (w+scalefactor-1)/scalefactor,
+ (h+scalefactor-1)/scalefactor);
+ printf("\n");
}
decomptest(NULL, &jpegbuf, &jpgbufsize, NULL, w, h, jpegsub, 0, filename, w,