Closed waveform80 closed 11 years ago
Imported from trac issue 6. Created by dave on 2012-03-28T19:41:48, last modified: 2012-06-25T20:22:58
Trac comment by dave on 2012-06-25 14:24:01:
Implemented in r127 - needs testing
Trac comment by dave on 2012-06-25 20:22:58:
Tested - works well
Now that
--interpolate
allows manual selection of the interpolation algorithm it would make sense to add an option to specify resizing of the main image (not the "page" size though - that would be way too tricky). Short version-r
, long version--resize
.The option could allow either a single number to specified (which could be used as a multiplier for the native image size), or two numbers for an explicit size. Might also be possible to allow a single coordinate to be specified in order to indicate a requested horizontal or vertical image size. For example:
-r 2
= double the original image size-r 800,600
= output image with a resolution of 800x600 regardless of original aspect ratio-r 800,
= output image with width 800 and a height matching original aspect ratio-r ,600
= output image with height 600 and a width matching original aspect ratio