/SvgGlide

Load SVG using Glide library. Output image will scale up or down, without becoming blurry

Primary LanguageKotlin

SvgGlide

svgglide Module for loading SVG in Glide 4, based on AndroidSVG library and SvgImageLoaderPlugins. During loading, SVG will converted into Drawable. Output image will scale up or down, without becoming blurry.

It requires Android SDK 19+ and load SVG from url, assets folder, raw folder and hardcoded string.

Don't forget to create AppGlideModule like described here.

@GlideModule
class MyAppGlideModule : AppGlideModule {
    // No configuration required for svgglide module
}

alt text