Hi Peter
1. SVG loading requires ImageMagick, so you must include all ImageMagick files.
2. You can specify a path as follows:
procedure TForm1.RegisterImageMagick();
const
IMAGEMAGICK_FOLDER = 'E:\ImageMagick_Dev\Test32\';
begin
// Register the ImageMagick plug-in if available
IEGlobalSettings().RegisterPlugIns( IMAGEMAGICK_FOLDER, [iepiImageMagick] );
end;
3. The demo does not consider the aspect ratio of the SVG image (layer does not know it). You would need to handle this yourself, e.g. by locking the aspect ratio when loading:
ImageEnView1.IO.Params.Dict.Insert( 'ImageMagick:AspectRatio', 1 );
Nigel
Xequte Software
www.imageen.com