ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Exporting SVG

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
aouatif Posted - Dec 15 2017 : 05:43:13
Hi,
In ImageEn 7.5.0, Top Ten Enhancements you introduce the exoprt to SVG :

3. Exporting to SVG
Exporting of layers and objects to SVG (Scalable Vector Graphics) as vector objects

Do you have a demo for that function ?

Aouatif
13   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 15 2022 : 18:20:16
Hi

You can use AutoScaleImport:

http://www.imageen.com/help/TIOParams.AutoScaleImport.html

// Load an SVG at size 2000x1000px
ImageEnView1.IO.Params.AutoScaleImport := True;
ImageEnView1.IO.Params.LoadToWidth := 2000;
ImageEnView1.IO.Params.LoadToHeight := 1000;
ImageEnView1.IO.LoadFromFile( 'D:\SVG\Lion.svg' );
ImageEnView1.IO.SaveToFile( 'D:\Lion.png' );


Nigel
Xequte Software
www.imageen.com
lvincent7 Posted - Sep 15 2022 : 01:55:51
Hi again, how is everyone?

I am converting an SVG to PNG, is there a way i can control the size of the PNG? or perhaps the size of the SVG prior to conversion?
xequte Posted - Oct 06 2021 : 16:52:56
Hi

The legacy plug-in does support SVG, it does not need any other DLLs.

For the new plug-in, most of the unnecessary DLLs have been removed from the install. There are a few others that are probably optional based on what formats you want to support.



Nigel
Xequte Software
www.imageen.com
lvincent7 Posted - Oct 05 2021 : 21:39:13
Nigel,

The DLLs for SVG thats not included in the legacy plugin right? So if we are going to use the legacy plugin, SVG will not be supported. Am I right?

If not, then we will just use the current setup were we copy all dlls. But is it possible to get rid of those dlls not specific to what we need?
lvincent7 Posted - Oct 05 2021 : 03:47:44
Anyone here tried creating an SVG from SVG code and saving it to an SVG file in Delphi?

We want to create an SVG but since we want the text to be change over time we are thinking of this solution. Do you think this can work? I will still try it :)
lvincent7 Posted - Oct 05 2021 : 01:05:37
Thank you so much!
xequte Posted - Oct 04 2021 : 23:36:37
Hi

For the standard ImageMagick DLL that is not possible.

However you can use the Legacy plug-in:

https://www.imageen.com/files/plugins/ImageMagickLegacyPlugIn.zip

And register it as follows:

IEAddExtIOPlugIn( 'D:\Some_Path\imagemagick.dll )

Nigel
Xequte Software
www.imageen.com
lvincent7 Posted - Oct 04 2021 : 22:01:17
Thank you. I tried it, it works. How can we referenced the dlls inside a separate folder? Is there a way to do this? I tried adding the binary folder in the library reference but does not work.
xequte Posted - Oct 04 2021 : 21:39:53
Yes, if you have installed the ImageMagick plug-in, then ImageEn can rasterize SVG files and save them to PNG:

www.imageen.com/download/


Nigel
Xequte Software
www.imageen.com
lvincent7 Posted - Oct 04 2021 : 18:07:55
Nigel,

Can ImageEN convert SVG to PNG?
xequte Posted - Jul 05 2020 : 20:14:38
No, if they are vector objects in the TImageEnView (e.g. TIEShapeLayer or TIELineLayer) they will be vector objects in the SVG.



Nigel
Xequte Software
www.imageen.com
kturkay Posted - Jul 05 2020 : 01:33:41
Hi!
is exporting as SVG always raster vectorial objects as bitmaps into svg file ?
xequte Posted - Dec 15 2017 : 16:02:56
Hi Aouatif

It was introduced in v7.0.0.

You can test it with the "All Layers" demo, by selecting View > View as SVG.

https://www.imageen.com/files/demos/run/LayerEditing/Layers_AllTypes/Layers.exe


Nigel
Xequte Software
www.imageen.com