The tr provides a group of settings for the ExpImage X-Function, which can be used to set the properties of the exported image.
Syntax: tr.SubTree.Treenode:=<value>
Example: tr.BMP.dotsperinch:=300;
The BMP branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as BMP.
Syntax: tr.BMP.Treenode:= <value>
Example: tr.BMP.bitsperpixel:="24-bit Color" // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image. Options include 72, 96, 100, 150, 300, 600 and 1200. |
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color-depth of the exported image.
|
The GIF branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as GIF.
Syntax: tr.GIF.Treenode:= <value>
Example: tr.GIF.bitsperpixel:="24-bit Color" // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution for the exported image, which can be 72, 96, 100, 150, 300, 600, or 1200. |
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color depth.
|
The JPG branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as JPG.
Syntax: tr.JPG.Treenode:= <value>
Example: tr.JPG.dotsperinch:=300 // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image, which can be 72, 96, 100, 150, 300, 600, or 1200. |
bitsperpixel | Color Depth | string | 24-bit Color | Specifies the color-depth of the exported image.
|
Compression | Compression | int | 0 | Defines the compression level, which is an integer between 0 and 255. The size of exported file decreases with the increase of compression level. |
The PCX branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as PCX.
Syntax: tr.PCX.Treenode:= <value>
Example: tr.PCX.dotsperinch:=300 // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image, which can be 72, 96, 100, 150, 300, 600, or 1200. |
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color-level of the exported image.
|
The PNG branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as PNG.
Syntax: tr.PNG.Treenode:= <value>
Example: tr.PNG.dotsperinch:=300 // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image. Options include 72, 96, 100, 150, 300, 600 and 1200. |
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color-depth of the exported image.
|
The PSD branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as PSD.
Syntax: tr.PSD.Treenode:= <value>
Example: tr.PSD.dotsperinch:=300 // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image. Options include 72, 96, 100, 150, 300, 600 and 1200. |
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color-depth of the exported image
|
The TGA branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as TGA.
Syntax: tr.TGA.Treenode:= <value>
Example: tr.TGA.dotsperinch:=300 // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image. Options include 72, 96, 100, 150, 300, 600 and 1200. |
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color-depth of the exported image.
|
The TIF branch of the tr tree specifies the exporting setting when the image type of the exported image is selected as TIF.
Syntax: tr.TIF.Treenode:= <value>
Example: tr.TIF.dotsperinch:=300 // Specifies the resolution of the exported image
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
dotsperinch | DPI Resolution | int | 300 | Specifies the resolution of the exported image. Options include 72, 96, 100, 150, 300, 600 and 1200. |
ColorSpace | Color Space | string | RGB | Specifies the color space to use when the graphs are exported.
|
bitsperpixel | Color Depth | string | 256 Colors | Specifies the color-depth of the exported image.
|
Compression | Compression | string | None | Specifies the compression method.
|
The trgeo branch of the tr tree provides a group of settings for the exported GeoTIFF image.
Syntax: tr.trgeo.Treenode:=<value>
Example: tr.trgeo.epsg:=7789; // specifies EPSG of 7789
Treenode | Label | Type | Default | Description |
---|---|---|---|---|
gtmodel | GT Model | int | 2 |
|
epsg | EPSG | int | 4326 | EPSG code |
linearunits | Linear Units | int | Meter | When GT Model = Projected.
|
angularunits | Angular Units | string | Degree |
|
verticalunits | Vertical Units | int | Meter |
|