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
 TImageEnMView and 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
Ken Randall Posted - Apr 06 2022 : 05:50:11
Hi,

Any possibility of being able to view SVG files?

Thanks,

Ken R
11   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 27 2023 : 15:58:27
Also note that SVG loading is now automatically supported on Delphi 12 and newer if you add Vcl.Skia to the uses clause of any unit in your project.

Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Apr 12 2022 : 00:16:14
Hi Nigel,

Thanks very much. That works perfectly.

Regards,

Ken R
xequte Posted - Apr 11 2022 : 18:27:08
Thanks Ken,

Looks like TImageEnMView is not detecting SVG as a known load extension, unless DetectFileFormat is true.

We'll have a fix in the next update. Meanwhile you can just enable the DetectFileFormat parameter:

ImageEnMView1.FillFromDirectory( IEFolderTree1.Folder, -1, False, '', True, '', False );


Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Apr 11 2022 : 04:45:44
Hi Nigel,

Yes, it works fine in that demo.

Thanks,

Ken R
xequte Posted - Apr 10 2022 : 16:48:37
Hi Ken

Can you confirm that SVG types display for you in that demo?

Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Apr 09 2022 : 04:50:34
Hi Nigel,

Are we talking cross-purposes here? The ImageMagick demo does not use a TImageEnMView!

Regards,

Ken R
xequte Posted - Apr 08 2022 : 22:11:27
Hi Ken

Can you try this demo:

\Demos\InputOutput\ImageMagick\ImageMagick.dpr

Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Apr 07 2022 : 07:29:51
Hi Nigel,

I have copied all dll's to the exe folder and have included:

IEGlobalSettings().RegisterPlugIns([iepiImageMagick]);
if not (iepiImageMagick in IEGlobalSettings().ActivePlugIns) then
ShowMessage('ImageMagick not found!');

and I do not get a message so must be registered but images are not appearing in the MView. I am using:

MView.LockUpdate;
MView.FillFromDirectory(MyFolder,TIEFolderFileTypes.iefAllImages);
MView.UnLockUpdate;

Regards,



Ken R
xequte Posted - Apr 06 2022 : 17:59:20
Hi Ken

You just need to add all of the files in the ImageMagick zip to your EXE folder.

For completeness, you should also explicitly register the plug-in when your app starts:

https://www.imageen.com/help/TIEImageEnGlobalSettings.RegisterPlugIns.html

Nigel
Xequte Software
www.imageen.com
Ken Randall Posted - Apr 06 2022 : 06:29:41
Hi Nigel,

Thanks. Do the dll's just have to be in the exe folder and do I need all of them to view the svg in the MView or do I need to configure the MView in any way?

Thanks,

Ken R
xequte Posted - Apr 06 2022 : 05:52:06
Hi Ken

SVG can be loaded (as a rasterized bitmap) using the ImageMagick plug-in:

www.imageen.com/download/


Nigel
Xequte Software
www.imageen.com