ImageEn, unit iexBitmaps

TIOParams.SVG_ImageCompression

TIOParams.SVG_ImageCompression


Declaration

property SVG_ImageCompression: TIOFileType;


Description

Specifies the format that is used when saving raster images within an SVG file.

Notes:
- SVG_ImageCompression should be a web-safe image format, such as ioPNG or ioJPEG
- If SVG_ImageCompression is ioJPEG, then the quality will be specified by JPEG_Quality

Default: ioPNG


Example

// Save current layers (compress image layers as jpeg)
ImageEnView1.IO.Params.SVG_ImageCompression := ioJPEG;
ImageEnView1.IO.Params.JPEG_Quality := 80;
ImageEnView1.IO.SaveToFileSVG( 'D:\layers.SVG' );