slack-gif-creator

Generate Slack-ready animated GIFs from programmatic frames with GIFBuilder.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sargupta/sahayakai --skill slack-gif-creator-sargupta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-gif-creator
Source: https://github.com/sargupta/sahayakai/tree/main/sahayakai-main/.agent/skills/slack-gif-creator
Command: npx skills add https://github.com/sargupta/sahayakai --skill slack-gif-creator-sargupta

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pillow, imageio, numpy.

What problem does it solve?

This Skill provides a toolkit to generate animated GIFs that meet Slack's constraints (128x128 emoji GIFs and 480x480 message GIFs) from programmatic frames, saving time and ensuring consistent visuals.

Core Features & Use Cases

  • GIF assembly and optimization with GIFBuilder, minimizing colors and frame count for Slack-friendly outputs.
  • Slack-specific constraint enforcement (dimensions, fps, color counts) and built-in validation via Validators.
  • Frame utilities (create frames with PIL, gradients, text, shapes) and easing/animation helpers to craft dynamic visuals.
  • Use Case: Produce a Slack emoji or a branded GIF for a channel, campaign, or onboarding.

Quick Start

Install dependencies with: pip install pillow imageio numpy from core.gif_builder import GIFBuilder from PIL import Image frame = Image.new('RGB', (128, 128), (255, 0, 0)) builder = GIFBuilder(width=128, height=128, fps=10) builder.add_frame(frame) builder.save('emoji.gif', num_colors=48, optimize_for_emoji=True)

Frequently Asked Questions about slack-gif-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create animated GIFs that meet Slack emoji size limits?

You can generate Slack-ready animated GIFs by using programmatic frames with PIL to build 128x128 emoji or 480x480 message visuals. This process enforces Slack constraints and applies color quantization to ensure outputs are compact and platform-ready.

What's the best way to optimize GIF frame count and colors for Slack?

The best way to optimize GIF frames and colors for Slack is through color quantization and optional deduplication. By minimizing colors and removing redundant frames during GIF assembly, you generate visually polished, lightweight animations suitable for Slack channels.

Can I use PIL and imageio to assemble Slack-ready animated GIFs from programmatic frames?

Yes, you can use PIL and imageio to assemble Slack-ready animated GIFs from programmatic frames. These libraries handle frame creation and image processing, while built-in validators ensure the final output meets Slack's specific dimension and color requirements.

How do I add easing and animation helpers to GIF frames for Slack?

You add easing and animation helpers to GIF frames by applying dynamic visual utilities during the frame creation process. These helpers allow you to craft smooth transitions and gradients on shapes and text before assembling the final Slack-ready GIF.

Does Slack require specific dimensions and fps limits for custom emoji GIFs?

Yes, Slack requires custom emoji GIFs to be 128x128 pixels and message GIFs to be 480x480 pixels. Built-in validators enforce these specific dimensions, along with fps and color count limits, to ensure your animated GIFs comply with platform constraints.

Why are my Slack GIFs failing to upload or displaying incorrectly?

Slack GIFs may fail to upload or display incorrectly if they exceed the 128x128 emoji or 480x480 message dimension limits, or if color counts and fps are too high. Using built-in validators and frame optimization ensures your GIF meets these strict platform constraints.