Posted - Sep 06 2024 : 08:25:08 I need to display the svg, and change fill color to some nodes (layers). To display svg imagemagik is fine but i cannot edit the layers/nodes.
xequte
Posted - Sep 05 2024 : 16:13:47 Hi
You are importing layers above, rather than rendering (much more memory intensive process). Can you tell me more about your usage here, so I can recommend the best solution (e.g. layer editing and exporting, display of SVG, etc)?
Posted - Sep 05 2024 : 10:49:51 with ImageMagik the svg is good, but the image is raster not vectorial! But importing the svg with the previus code result in an incomprensible image
perauto
Posted - Sep 05 2024 : 02:49:27 I have downloaded the ImageMagick Plug-In and unzipped, copied from Demo EXE the file ImageMagik in Binaries 32bit\Core_Files and executed; but i have "32 bit plugin not found". I have made the same with Binary 64bit with the same message. What i'm mistaking?
perauto
Posted - Sep 05 2024 : 02:36:58
// Prevent downloading of web based files
IEGlobalSettings().SVGParams.AllowWebDownload := False;
// Allow more complex SVG files to be imported (may overwhelm application)
IEGlobalSettings().SVGParams.MaxTagCount := 15000;
IEGlobalSettings().SVGParams.MaxPointCount := 10000;
IEGlobalSettings().SVGParams.MaxLayerSize := 20000;
ImageEnView1.IO.ImportFromFileSVG( 'C:\SORGENTI\TriaTel\ViewSVG\Win32\Debug\0050718.svg' );
xequte
Posted - Sep 04 2024 : 16:19:22 Hi
It definitely won't be quick, our native code is intended for importing rather than rendering and it not significantly optimized at this time.
If you are looking for rendering you are better to use the ImageMagick plug-in from our download page (or turn on Skia in Delphi 12).
However it should still display correctly. Can you show me your loading code?
Posted - Sep 04 2024 : 06:27:46 with the latest beta it loads the svg without problems, but it doesn't draw it well. You can't recognize the drawing and it's very slow.
xequte
Posted - Sep 03 2024 : 15:16:23 Hi
Please email me for the latest beta which has many SVG improvements. It loads correctly with the native SVG loading, but there are too many tags to import it all as layers.