CADRaster recognizes and supports raster drawings stored in popular JPEG
format (extensions JPG
, JPEG
).
Various parameters that influence compression level,
precision of drawing details and processing time during saving or converting to JPEG
format,
may be controlled from "JPEG Format Save Options" dialog called from "Save" tab on "Configuration" dialog.
DCT method
Selects the algorithm used for the DCT step. Choices are:
SLOW: slow but accurate integer algorithm
FAST: faster, less accurate integer method (DEFAULT)
FLOAT: floating-point method
Restart
To emit restart markers in the JPEG file, set one of these nonzero. Set restart interval in blocks to specify the exact interval in MCU blocks. Set restart interval in rows to specify the interval in MCU rows. Defaults are zero (no restarts). One restart marker per MCU row is often a good choice.
Smooth
Smooth If non-zero, the input image is smoothed; the value should be 1 for minimal smoothing to 100 for maximum smoothing. The default is zero.
Quality
Baseline
Constructs JPEG
quantization tables appropriate for the indicated quality setting.
The quality value is expressed on the 0..100 scale recommended by IJG
.
If the baseline parameter is TRUE
, then the quantization table entries are constrained to the range 1..255 for full JPEG
baseline compatibility.
In the current implementation, this only makes a difference for quality settings below 25, and it effectively prevents very small/low quality files from being generated.
To learn more about how to use JPEG
, see http://www.faqs.org/faqs/jpeg-faq/.
Due to the compression nature used in raster drawings stored in JPEG
format, applying some raster editing operations, like clearing areas or cutting and pasting,
may result in some artifacts inside edited areas, depending on compression parameters used in original drawing.