TD72RAS Command Line Options

Test D

-testD
Compulsory.

-pxwnnn
Width in pixels of the output image. Example: -pxw=1000.

-pxhnnn
Height in pixels of the output image. Example: -pxh=1000.

-formataaa
Output format. Options are: 'png' or 'jpg'. Example -output=png.

-inpath
Path to input file. Example: -in=test.td7 or =in="C:\Program Files\Samples\abc123.td7".

-x0nnnnnn
X coordinate of the bottom left of the image in metres from the National Grid origin. Example -x0=444400.

-y0nnnnnn
Y coordinates of the bottom left of the image in metres from the National Grid origin. Example -y0=377500.

-x1nnnnnn
X coordinate of the top right of the image in metres from the National Grid origin. Example -x1=444500.

-y1nnnnnn
Y coordinates of the top right of the image in metres from the National Grid origin. Example -y1=377600.

-rgbaaa
Path to colour file. Example: -rgb=colours.xml.

-abdaaa
Path to 'abnormal end' (abend) file (optional). Example: -abd=temp\d2r0t.abd.

-dbgaaa
Path to 'debug output' file (optional). Example: -dbg=temp\d2r0t.dbg.

Example:

d2r0t.exe -testD -pxw=1000 -pxh=1000 -format=jpg -in=test.td7 -out=testd02.jpg -x0=444400 -x1=444500 -y0=377500 -y1=377600 -rgb=colours.xml -abd=temp\d2r0t.abd

This command line creates a 1000x1000 pixel jpeg file file called testd02.jpg from a TD7 file called test.td7. The output image covers the area from (444400,377500) to (444500,377600), i.e. a square 100m per side, so each pixel represents 0.1m.

Topic revision: r1 - 12 May 2011 - 12:00:09 - WikiGuest
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback