1.1 --- a/t2p.c Sun Aug 25 13:21:28 2002 +0000 1.2 +++ b/t2p.c Sun Aug 25 13:22:42 2002 +0000 1.3 @@ -4,7 +4,7 @@ 1.4 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.5 * 1.6 * Main program 1.7 - * $Id: t2p.c,v 1.16 2002/01/30 00:55:34 eric Exp $ 1.8 + * $Id: t2p.c,v 1.17 2002/08/25 05:22:42 eric Exp $ 1.9 * Copyright 2001 Eric Smith <eric@brouhaha.com> 1.10 * 1.11 * This program is free software; you can redistribute it and/or modify 1.12 @@ -377,10 +377,11 @@ 1.13 goto fail; 1.14 } 1.15 1.16 - bitmap = resize_bitmap (bitmap, 1.17 - x_resolution, 1.18 - y_resolution, 1.19 - input_attributes); 1.20 + if (input_attributes.has_page_size) 1.21 + bitmap = resize_bitmap (bitmap, 1.22 + x_resolution, 1.23 + y_resolution, 1.24 + input_attributes); 1.25 1.26 rotate_bitmap (bitmap, 1.27 input_attributes);