diff options
Diffstat (limited to 'editor/pamscale.c')
-rw-r--r-- | editor/pamscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pamscale.c b/editor/pamscale.c index ad7c319b..af7ab612 100644 --- a/editor/pamscale.c +++ b/editor/pamscale.c @@ -2095,7 +2095,7 @@ main(int argc, char **argv ) { outpam = inpam; /* initial value */ outpam.file = stdout; - if (PNM_FORMAT_TYPE(inpam.format) == PBM_TYPE) { + if (PNM_FORMAT_TYPE(inpam.format) == PBM_TYPE && !cmdline.nomix) { outpam.format = PGM_TYPE; outpam.maxval = PGM_MAXMAXVAL; pm_message("promoting from PBM to PGM"); |