πŸŽ‰πŸŽ‰New SVG Image Loader

:white_check_mark: SVG Image Loader

Hello Koders ,
I am presenting my first extension

:white_check_mark: Image of Blocks

Error Occurred
4
Event raised when error occurred.

Load From String
3
load SVG string data.

Load From File
2
load SVG from file path.

Load From Asset
1
Load SVG from asset.(This will not works in companion, use Load From File).

:new: Load From Web (Added in version 2)
1
load SVG from web.

Download Extension
version =1
com.SVGImages.aix (90.9 KB)
version = 2
com.SVGImages.aix (91.5 KB)

Thank You

46 Likes

You can add a method in the code to determine the package name, if it equals io.makeroid.companion then use the LoadFromFile method, but input the path and filename yourself instead of making others do it :slight_smile:

If you need help adding it, just PM me and I can give you the code.

5 Likes

Does it load svg from url (link)?

If, yes, how.

no it is not possible with this extension

convert your SVG into string data and load it

now it is possible to load SVG from web

2 Likes

Can you make it colorful

can it use for load font svg?

Awesome work in first Extension . It is a good achievement, keep it up @Preet_Vadaliya.

1 Like

Thank you so much :blush:

Ummm I not tried but tel me what you need I will try for solutions

i need font emoji

Ok I will try to solve your problem :grin:

2 Likes

How to use this extension, what has to be placed in component socket,i tried with image …but failed

I think you can use for component whatever you want and must fit in a string for the Data/File/URL .

Yoshi

yes you are right

Can anyone say me what’s the benefit of using svg image

Google is your friend, do a search first.

Yoshi

3 Likes

Please add a color parameter! So I can customize it as I want. Btw, nice extension!

4 Likes

I hope it can load animation svg