<p dir="auto"><strong>Glide Version</strong>: 4.2</p>

<p dir="auto"><strong>Integration libraries</strong>:OkHttp3</p>

<p dir="auto"><strong>Device/Android Version</strong>:all</p>

<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:<br>
image display: <a href="http://chuantu.biz/t6/110/1508830598x3708062762.png" rel="nofollow">http://chuantu.biz/t6/110/1508830598x3708062762.png</a></p>

<p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="GlideApp.with(this)
        .load(url)
        .transforms(new FitCenter(),new RoundedCorners(10))
        .into(iv);"><pre class="notranslate"><span class="pl-smi">GlideApp</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>)
        .<span class="pl-en">load</span>(<span class="pl-s1">url</span>)
        .<span class="pl-en">transforms</span>(<span class="pl-k">new</span> <span class="pl-smi">FitCenter</span>(),<span class="pl-k">new</span> <span class="pl-smi">RoundedCorners</span>(<span class="pl-c1">10</span>))
        .<span class="pl-en">into</span>(<span class="pl-s1">iv</span>);</pre></div>
<p dir="auto">With this layout:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;FrameLayout
        xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
        xmlns:tools=&quot;http://schemas.android.com/tools&quot;
        android:layout_width=&quot;@dimen/media_bubble_height&quot;
        android:layout_height=&quot;@dimen/media_bubble_height&quot;
        android:layout_marginBottom=&quot;5dp&quot;
        android:layout_gravity=&quot;center&quot;
        android:scaleType=&quot;centerCrop&quot;
        android:adjustViewBounds=&quot;true&quot;&gt;

    &lt;ImageView android:id=&quot;@+id/image&quot;
               android:layout_width=&quot;match_parent&quot;
               android:layout_height=&quot;match_parent&quot;
               android:adjustViewBounds=&quot;true&quot;
               android:clickable=&quot;false&quot;
               android:longClickable=&quot;false&quot;
               android:scaleType=&quot;fitCenter&quot;/&gt;

&lt;/FrameLayout&gt;"><pre class="notranslate"><code class="notranslate">&lt;FrameLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="@dimen/media_bubble_height"
        android:layout_height="@dimen/media_bubble_height"
        android:layout_marginBottom="5dp"
        android:layout_gravity="center"
        android:scaleType="centerCrop"
        android:adjustViewBounds="true"&gt;

    &lt;ImageView android:id="@+id/image"
               android:layout_width="match_parent"
               android:layout_height="match_parent"
               android:adjustViewBounds="true"
               android:clickable="false"
               android:longClickable="false"
               android:scaleType="fitCenter"/&gt;

&lt;/FrameLayout&gt;
</code></pre></div>
<p dir="auto">Loading a gif into the ImageView:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    GlideApp.with(getContext())
            .load(model)
            .diskCacheStrategy(DiskCacheStrategy.NONE)
            .transform(new RoundedCorners(radius))
            .transition(withCrossFade())
            .into(image);"><pre class="notranslate"><code class="notranslate">    GlideApp.with(getContext())
            .load(model)
            .diskCacheStrategy(DiskCacheStrategy.NONE)
            .transform(new RoundedCorners(radius))
            .transition(withCrossFade())
            .into(image);
</code></pre></div>
<p dir="auto">Consistently produces these glitches in Glide 4.2.0:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/512439/31473424-40e8c868-aea9-11e7-994f-14a83fdee1ff.gif"><img src="https://user-images.githubusercontent.com/512439/31473424-40e8c868-aea9-11e7-994f-14a83fdee1ff.gif" alt="glitchy" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Happens for every gif I try, here's a sample:<br>
<a href="https://media.giphy.com/media/xUNd9W5Wbh8cRmdFBe/giphy.gif" rel="nofollow">https://media.giphy.com/media/xUNd9W5Wbh8cRmdFBe/giphy.gif</a></p>
<p dir="auto">In Glide 3.7 I used a custom RoundedCorners transformation (I don't think one came with Glide?) and this wasn't an issue.</p>
<p dir="auto"><strong>Glide Version</strong>: 4.2.0</p>