2.16.3.1 Details of TreeNodes in Image Export Function 
 
tr
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; 
  
 
BMP
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.
- Monochrome
- Export the graph using black and white only.
 
  
- 16 Colors
- Export the graph using 16 colors.
 
  
- 256 Colors
- Export the graph using 256 colors.
 
  
- 16-bit Color
- Export the graph using 16-bit color.
 
  
- 24-bit Color
- Export the graph using 24-bit color.
 
  
- 8-bit Gray Scale
- Export the graph using 256 gray scales.
 
   
 |   
 
 
GIF
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.
- Monochrome
- Export graph with only black and white
 
  
- 16 Colors
- Export graph with 16 colors
 
  
- 256 Colors
- Export graph with 256 colors
 
  
- 8-bit Gray Scale
- Export graph with 256 gray scales
 
   
 |   
JPG
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.
- 24-bit Color
- Export graph using 24-bit color
 
  
- 8-bit Gray Scale
- Export graph with 256 gray scales
 
   
 |  
| 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.
 |   
PCX
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.
- Monochrome
- Black and white only.
 
  
- 16 Colors
- 16 colors
 
  
- 256 Colors
- 256 colors
 
  
- 24-bit Color
- 24-bit color
 
  
- 8-bit Gray Scale
- The exported image will be a gray image with 256 gray scales.
 
   
 |   
 
 
PNG
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.
- Monochrome
- Export the graph with only black and white.
 
  
- 16 Colors
- Export the graph with 16 colors.
 
  
- 256 Colors
- Export the graph with 256 colors.
 
  
- 24-bit Color
- Export the graph using 24-bit color.
 
  
- 8-bit Gray Scale
- Export the graph using 256 gray scales.
 
   
 |   
PSD
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
- Monochrome
- Export the graph using black and white only.
 
  
- 16 Colors
- Export the graph using 16 colors.
 
  
- 256 Colors
- Export the graph using 256 colors.
 
  
- 16-bit Color
- Export the graph using 16-bit color.
 
  
- 24-bit Color
- Export the graph using 24-bit color.
 
  
- 8-bit Gray Scale
- Export the graph using 256 gray scales.
 
   
 |   
 
 
TGA
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.
- Monochrome
- Export the graph using black and white only.
 
  
- 16 Colors
- Export the graph using 16 colors.
 
  
- 256 Colors
- Export the graph using 256 colors.
 
  
- 16-bit Color
- Export the graph using 16-bit color.
 
  
- 24-bit Color
- Export the graph using 24-bit color.
 
  
- 8-bit Gray Scale
- Export the graph using 256 gray scales.
 
   
 |   
TIF
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.
- RGB
- This color space is used widely in display. It uses red, green, and blue as primary colors.
 
  
- CMYK
- This color space is used widely in printing. It uses cyan, magenta, yellow, and black as primary colors.
 
  
- YCbCr
- This color space is used widely in video and digital photography systems. In this color space, Y is the luma component, while Cb and Cr are blue and red chroma components.
 
   
 |  
| bitsperpixel
 | 
Color Depth
 | 
string
 | 
256 Colors
 | 
Specifies the color-depth of the exported image.
- Monochrome
- Export the matrix as image using black and white only.
 
  
- 16 Colors
- Export the matrix as image using 16 colors.
 
  
- 256 Colors
- Export the matrix as image using 256 colors.
 
  
- 16-bit Color
- Export the matrix as image using 16-bit color.
 
  
- 24-bit Color
- Export the matrix as image using 24-bit color.
 
  
- 8-bit Gray Scale
- Export the matrix as image using 256 gray scales.
 
  
- 16-bit Gray Scale
- Export the matrix as image using 65536 gray scales.
 
   
 |  
| Compression
 | 
Compression
 | 
string
 | 
None
 | 
Specifies the compression method.
- None
- No compression
 
  
- PackBits
- PackBits compression
 
  
- LZW
- LZW compression
 
   
 |   
 
 
trgeo
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
 | 
-  Undefined = 0
 
-  Projected = 1
 
-  Geodetic = 2
 
-  Geocentric = 3
  
 |  
|  epsg
 | 
 EPSG
 | 
 int
 | 
 4326
 | 
 EPSG code
 |  
|  linearunits
 | 
 Linear Units
 | 
 int
 | 
 Meter
 | 
 When GT Model = Projected.
-  Undefined = 0
 
-  Meter = 1
 
-  Foot = 2
 
-  Foot (US Survey) = 3
 
-  Foot (Modified American) = 4
 
-  Foot (Clarke) = 5
 
-  Link = 6
 
-  Link (Benoit) = 7
 
-  Link (Sears) = 8
 
-  Chain (Benoit) = 9
 
-  Chain (Sears) = 10
 
-  Yard (Sears) = 11
 
-  Yard (Indian) = 12
 
-  Fathom = 13
 
-  Mile (International Nautical) = 14
  
 |  
|  angularunits
 | 
 Angular Units
 | 
 string
 | 
 Degree
 | 
-  Undefined = 0
 
-  Radian = 1
 
-  Degree = 2
 
-  Arc Minute = 3
 
-  Arc Second = 4
 
-  Grad = 5
 
-  Gon = 6
 
-  DMS = 7
 
-  DMS (Hemisphere) = 8
  
 |  
|  verticalunits
 | 
 Vertical Units
 | 
 int
 | 
 Meter
 | 
-  Undefined = 0
 
-  Meter = 1
 
-  Foot = 2
 
-  Foot (US Survey) = 3
 
-  Foot (Modified American) = 4
 
-  Foot (Clarke) = 5
 
-  Link = 6
 
-  Link (Benoit) = 7
 
-  Link (Sears) = 8
 
-  Chain (Benoit) = 9
 
-  Chain (Sears) = 10
 
-  Yard (Sears) = 11
 
-  Yard (Indian) = 12
 
-  Fathom = 13
 
-  Mile (International Nautical) = 14
  
 |   
             |