You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Svg images with SkiaSharp increasing app size significantly #893
Svg plugin awsome and works great but I recognize that this SkiaSharp plugin is 4mb big. it is a significant size for a single package. Cant we find a better alternative or it is the best we can get? I am seeing this 4mb
using Full Linking, Bundle into Native Assemblies and without AOT in release mode when I extract the package as shown in the image
Please mind that you will compensate those 4MB when you add some images. Image files are many times larger than SVG files and you also don't need to include multiple image sizes when using SVGs.
I agree with you about compensation but in my gain from images are 1 mb max. I think that it is perfect solution for the apps heavily using high resolution images. I asked this question because i went through some other libraries doing without skiasharp although these libraries looks like not updated and almost dead. anyway i am closing this ticket. just wanted to bring into your attention. thank you
Oh my good, this became crazy now. i am using 1.60.1 version of skiasharp and it occupies 9mb size. in April last time i checked it was like shown above around 3.8mb what happened with the newer versions? what did they do? it is impossible to use your library because of skiasharp. how can we report it best?
I use Xamarin.FFImageLoading.Svg.Forms to render SVGs, but the size of the library is way too big. Is it possible to configure linking to exclude parts of the SkiaSharp library for the SVG nuget?
Activity
daniel-luberda commentedon Jan 9, 2018
It's best what we can get. See this:
Please mind that you will compensate those 4MB when you add some images. Image files are many times larger than SVG files and you also don't need to include multiple image sizes when using SVGs.
EmilAlipiev commentedon Jan 9, 2018
I agree with you about compensation but in my gain from images are 1 mb max. I think that it is perfect solution for the apps heavily using high resolution images. I asked this question because i went through some other libraries doing without skiasharp although these libraries looks like not updated and almost dead. anyway i am closing this ticket. just wanted to bring into your attention. thank you
EmilAlipiev commentedon Jul 1, 2018
Oh my good, this became crazy now. i am using 1.60.1 version of skiasharp and it occupies 9mb size. in April last time i checked it was like shown above around 3.8mb what happened with the newer versions? what did they do? it is impossible to use your library because of skiasharp. how can we report it best?
EmilAlipiev commentedon Jul 1, 2018
I have just downgraded skiasharp to 1.60.0 version and result is same like above image one with 3.9mb.. something has changed with 1.60.1
KristofferBerge commentedon Jul 11, 2018
I use Xamarin.FFImageLoading.Svg.Forms to render SVGs, but the size of the library is way too big. Is it possible to configure linking to exclude parts of the SkiaSharp library for the SVG nuget?