title: Image becomes blurry when loading SVG with Glide
body: <p>In the app I'm using the following sample to load an SVG image into ImageView:</p>
  
  <pre><code>Glide.with(context)
                  .using(Glide.buildStreamModelLoader(Uri.class, context), InputStream.class)
                  .from(Uri.class)
                  .as(SVG.class)
                  .transcode(new SvgDrawableTranscoder(), PictureDrawable.class)
                  .sourceEncoder(new StreamEncoder())
                  .cacheDecoder(new FileToStreamDecoder&lt;&gt;(new SvgDecoder()))
                  .decoder(new SvgDecoder())
                  .listener(new SvgSoftwareLayerSetter())
                  .diskCacheStrategy(DiskCacheStrategy.NONE)
                  .load(uri)
                  .into(imageView);
  </code></pre>
  
  <p>An ImageView in xml looks like this:</p>
  
  <pre><code>       &lt;ImageView
          android:layout_width="46dp"
          android:layout_height="46dp"
          android:layout_marginTop="25dp"
          android:layout_gravity="center"
         /&gt;
  </code></pre>
  
  <p>So, the problem can be seen on the image below. The right icon was set from app's resources, while the left one is loaded from server using Glide. For some reason image is not scaling properly and looks blurry.</p>
  
  <p><a href="https://i.stack.imgur.com/eIAR8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eIAR8.png" alt="images to compare"></a></p>
  
  <p>I've already tried the solution from this answer:
  <a href="https://stackoverflow.com/questions/35512975/image-size-too-small-when-loading-svg-with-glide">Image size too small when loading SVG with Glide</a>, but it doesn't work.</p>