ImageEn, unit iexHelperFunctions

IEConvertImageToSVG


Declaration

function IEConvertImageToSVG(const InFilename, OutFilename: string): boolean;


Description

Create an SVG file from another image file.
No conversion of the image takes place. It is embedded into the SVG file without any changes.
Result is False if the source file cannot be read. Save issues will raise an exception

Note: You must add the iexHelperFunctions unit to your uses clause


Example

// Convert an image to SVG without re-encoding the JPEG
IEConvertImageToSVG( 'D:\Image.jpg', 'D:\Image.svg' );