waveform-computing / rastools

Tools for working with synchrotron scans
http://www.waveform.org.uk/rastools/
2 stars 1 forks source link

Add --resize option to rasextract #6

Closed waveform80 closed 11 years ago

waveform80 commented 11 years ago

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:

waveform80 commented 11 years ago

Imported from trac issue 6. Created by dave on 2012-03-28T19:41:48, last modified: 2012-06-25T20:22:58

waveform80 commented 11 years ago

Trac comment by dave on 2012-06-25 14:24:01:

Implemented in r127 - needs testing

waveform80 commented 11 years ago

Trac comment by dave on 2012-06-25 20:22:58:

Tested - works well