slack-gif-creator

Create Slack-ready GIFs with GIFBuilder and validate size, frames, and dimensions.

Updated Mar 27, 2022
One-click install
npx skills add https://github.com/emliunix/home.conf --skill slack-gif-creator-emliunix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-gif-creator
Source: https://github.com/emliunix/home.conf/tree/main/skills/slack-gif-creator
Command: npx skills add https://github.com/emliunix/home.conf --skill slack-gif-creator-emliunix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating compact, Slack-optimized animated GIFs programmatically, with a workflow to assemble frames, optimize colors, and validate Slack-specific constraints.

Core Features & Use Cases

  • GIFBuilder to assemble frames and optimize colors for Slack
  • Validators to ensure Slack compatibility (dimensions, frames, and size)
  • Frame helpers, easing, and gradient utilities to craft polished animations
  • Use cases include emoji GIFs (128x128) and larger Slack GIFs (480x480) for messages

Quick Start

Create a 128x128 emoji Slack GIF by assembling frames with GIFBuilder and saving with emoji-optimized settings.

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 Slack-ready animated GIFs programmatically?

You can create Slack-ready GIFs by assembling programmatic frames with a GIFBuilder utility, applying per-frame color quantization, deduplication, and palette optimization to meet Slack's size and frame constraints.

What are the size and frame limits for custom Slack emoji GIFs?

Custom Slack emoji GIFs require 128x128 dimensions, a maximum of approximately 12 frames, and a 48-color palette to ensure smooth rendering and fast loading within the chat platform.

How do I optimize GIF file size for chat platforms using Python?

To optimize GIF file size for chat platforms, apply per-frame color quantization, limit the palette to 48 colors, use deduplication to remove identical frames, and resize outputs to required dimensions.

Can I generate larger 480x480 animated GIFs for Slack messages?

Yes, you can generate larger 480x480 animated GIFs for Slack messages by adjusting the custom dimensions in the GIFBuilder while still applying frame rate limits and palette optimization for compatibility.

What Python libraries are needed for GIF frame assembly and optimization?

For GIF frame assembly and optimization, the workflow utilizes imageio and pillow to handle image processing, frame assembly, color quantization, and resizing operations within the pipeline.

Why does my animated GIF exceed Slack's file size limits?

Your animated GIF may exceed Slack's file size limits if it lacks per-frame color quantization, contains duplicate frames, or uses an unoptimized color palette exceeding the 48-color limit.