ansys.mapdl.core.Mapdl.jpeg#
- Mapdl.jpeg(kywrd='', opt='', **kwargs)#
Provides JPEG file export for Mechanical APDL displays.
Mechanical APDL Command: JPEG
- Parameters:
- kywrd
str
Specifies various JPEG file export options.
QUAL
- IfKywrd
= QUAL, thenOPT
is an integer value defining the JPEG quality index on an arbitrary scale ranging from 1 to 100. The default value is 75.ORIENT
- IfKywrd
= ORIENT, thenOPT
will determine the orientation of the entire plot.OPT
can be either Horizontal (default) or Vertical.COLOR
- IfKywrd
= COLOR, thenOPT
will determine the color depth of the saved file.OPT
can be 0, 1, or 2, corresponding to Black and White, Grayscale, and Color (default), respectively.TMOD
- IfKywrd
= TMOD, thenOPT
will determine the text method.OPT
can be either 1 or 0, corresponding to bitmap text (default) or line stroke text, respectively.DEFAULT
- IfKywrd
= DEFAULT, then all of the default values, for all of the Kywrd parameters listed above, are active.
- opt
str
OPT
can have the following names or values, depending on the value forKywrd
(see above).1 to 100
- IfKywrd
= QUAL, a value between 1 and 100 will determine the quality index of the JPEG file.Horizontal, Vertical
- IfKywrd
= ORIENT, the terms Horizontal or Vertical determine the orientation of the plot.0,1,2
- IfKywrd
= COLOR, the numbers 0, 1, and 2 correspond to Black and White, Grayscale and Color, respectively.1,0
- IfKywrd
= TMOD, the values 1 and 0 determine whether bitmap (1) or stroke text (0) fonts will be used
- kywrd