<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: GIF Maker</title>
    <description>The latest articles on DEV Community by GIF Maker (@gifmaker_android).</description>
    <link>https://dev.to/gifmaker_android</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267319%2F5ee0c818-2404-49ff-bc3c-e16713d3c4a8.png</url>
      <title>DEV Community: GIF Maker</title>
      <link>https://dev.to/gifmaker_android</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gifmaker_android"/>
    <language>en</language>
    <item>
      <title>How to get a high quality GIF under 10MB for Discord</title>
      <dc:creator>GIF Maker</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:17:42 +0000</pubDate>
      <link>https://dev.to/gifmaker_android/how-to-get-a-high-quality-gif-under-10mb-for-discord-386b</link>
      <guid>https://dev.to/gifmaker_android/how-to-get-a-high-quality-gif-under-10mb-for-discord-386b</guid>
      <description>&lt;p&gt;If you have ever dropped a GIF into Discord and watched it bounce off the 10MB limit, the fix is almost never "compress harder". It is picking the right numbers before you export.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why GIFs get huge
&lt;/h2&gt;

&lt;p&gt;GIF has no inter-frame compression. A video codec stores the difference between frames; GIF stores a full indexed image for every single frame. So the file size is roughly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;frames x width x height x (palette cost)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Which means three levers, in order of impact.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Length
&lt;/h2&gt;

&lt;p&gt;This is the big one. Going from 10 seconds to 4 seconds cuts the frame count by 60% at the same frame rate. Trim to the moment that actually matters. Almost every GIF that is too big is also too long.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Frame rate
&lt;/h2&gt;

&lt;p&gt;Most people leave it at 30 FPS because that is what the source video was. You rarely need it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Below 12 FPS: visibly choppy&lt;/li&gt;
&lt;li&gt;15-20 FPS: the sweet spot for reaction clips and UI demos&lt;/li&gt;
&lt;li&gt;24+ FPS: smooth, but you pay for every extra frame&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Dropping 30 to 15 halves the file.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Dimensions
&lt;/h2&gt;

&lt;p&gt;GIF pays for every pixel in every frame, so resolution is expensive in a way it is not for MP4.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;480px wide: good default&lt;/li&gt;
&lt;li&gt;320px wide: fine for chat, still readable text&lt;/li&gt;
&lt;li&gt;720px+: only if someone will actually look at detail&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What else helps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Avoid grain and slow gradients.&lt;/strong&gt; A 256-colour palette handles flat colour well and noise badly. A fade to black can cost more than the action before it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crop before you scale.&lt;/strong&gt; Cutting dead space at the edges is free quality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Do not re-encode a finished GIF twice.&lt;/strong&gt; Each pass stacks dithering artefacts. Go back to the source clip.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A concrete recipe
&lt;/h2&gt;

&lt;p&gt;For a Discord-safe GIF from a phone video:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Length&lt;/td&gt;
&lt;td&gt;under 5 seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frame rate&lt;/td&gt;
&lt;td&gt;15 FPS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Width&lt;/td&gt;
&lt;td&gt;480px&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Palette&lt;/td&gt;
&lt;td&gt;128-256 colours&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That typically lands between 2 and 5 MB.&lt;/p&gt;

&lt;h2&gt;
  
  
  Doing it on Android
&lt;/h2&gt;

&lt;p&gt;On desktop, &lt;a href="https://ezgif.com/" rel="noopener noreferrer"&gt;Ezgif&lt;/a&gt; or ffmpeg with a palette filter will do all of the above.&lt;/p&gt;

&lt;p&gt;On a phone most apps either hide these settings or stamp a watermark on the output, which is the reason I ended up building my own: &lt;a href="https://play.google.com/store/apps/details?id=com.ldk.gifmaker&amp;amp;referrer=utm_source%3Ddevto%26utm_medium%3Darticle%26utm_campaign%3Dgif_size" rel="noopener noreferrer"&gt;GIF Maker&lt;/a&gt;. It exposes trim, frame rate, speed and a compression pass before export, and it does not watermark.&lt;/p&gt;

&lt;p&gt;Whatever tool you use, the order is the same: trim first, then frame rate, then dimensions. Compression settings are the last 10%, not the first.&lt;/p&gt;

</description>
      <category>gif</category>
      <category>android</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
