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
 ImportFromFileSVG

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
PeterPanino Posted - Dec 13 2023 : 05:46:22
Using Vcl.Skia in Delphi 12: When trying to load a VALID SVG file with no SVG extension, the file is not loaded:

ImageEnView1.IO.ImportFromFileSVG('C:\DELPHI\MySvgFile', 1000, -1, True);


It seems the ImportFromFileSVG function explicitly relies on the SVG extension of the file without checking the content of the file.

Is this intentional? Other image file types can be loaded without the explicit need for a specific file extension.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 14 2023 : 14:06:38
Hi Peter

That is because the VCL TPicture code requires the extension.

Nigel
Xequte Software
www.imageen.com