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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 SVGs in ImageEn Multi-Image control in Delphi 12
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Dec 08 2023 :  12:23:12  Show Profile  Reply
\Demos\Multi\FolderMViewPerformance:

Unfortunately, TImageEnFolderMView does not load SVG images in Delphi 12, although Vcl.Skia is in the uses list.

Can SVG images be shown in TImageEnFolderMView or other ImageEn Multi-Image control? I need this urgently.

xequte

38610 Posts

Posted - Dec 09 2023 :  16:50:03  Show Profile  Reply
Hi Peter

I'm not seeing that. If I add Vcl.Skia to my uses clause, TImageEnFolderMView show a thumbnail for SVG types and TImageEnView displays them. Can you give me more info?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

933 Posts

Posted - Dec 11 2023 :  07:44:54  Show Profile  Reply
At design-time, I've set in ObjectInspector:

IEFolderMView1.Folder to the path of a folder containing a few SVG images
IEFolderMView1.Filter = *.SVG
IEFolderMView1.FileTypes = iefCustom
IEFolderMView1.FileTypesMask = *.SVG

Vcl.Skia was added to the uses list.

But the ObjectInspector settings were overridden by:

IEFolderMView1.Folder := IEFolderTree1.Folder;


Now, it works when commenting out that line.

What amazes (and delights) me is that it even works when a ZIP file is specified as TImageEnFolderMView.Folder. Is this standard behavior, or does a specific setting on my system possibly cause that?
Go to Top of Page

xequte

38610 Posts

Posted - Dec 11 2023 :  22:20:14  Show Profile  Reply
Hi Peter

Do you have the 7zip plug-in (from our Download page) in your EXE folder?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: