slack-gif-creator

Create Slack-optimized animated GIFs with dimension, color, and frame rate adjustments.

25|12|Updated Jun 4, 2024
One-click install
npx skills add https://github.com/fairwic/rust_quant --skill slack-gif-creator-fairwic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-gif-creator
Source: https://github.com/fairwic/rust_quant/tree/main/.claude/skills/slack-gif-creator
Command: npx skills add https://github.com/fairwic/rust_quant --skill slack-gif-creator-fairwic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pillow, imageio, imageio-ffmpeg, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you create animated GIFs that are specifically optimized for Slack, ensuring they meet dimension, file size, and visual quality requirements for both emojis and messages.

Core Features & Use Cases

  • Optimized GIF Creation: Generates GIFs with appropriate dimensions, frame rates, and color palettes for Slack.
  • Custom Animation Logic: Provides tools and concepts to build animations from scratch or by manipulating user-provided images.
  • Use Case: You need to create a fun, animated GIF of a bouncing ball to use as a custom emoji in your Slack workspace. This Skill guides you through the process, from drawing the ball to optimizing the final GIF.

Quick Start

Use the slack-gif-creator skill to make a 128x128 animated GIF of a bouncing ball with 48 colors.

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 an animated GIF for Slack that meets dimension and file size limits?

To create an animated GIF for Slack, you need to handle dimension constraints, file size reduction, and frame rate adjustments. This Skill generates optimized GIFs by applying color reduction and resizing specifically for Slack emojis and messages.

Can I use Pillow and numpy to build custom GIF animations from scratch?

Yes, you can build custom GIF animations from scratch using Pillow and numpy. This Skill supports custom animation logic using PIL primitives, allowing you to draw and manipulate frames programmatically before exporting the final GIF.

What is the best way to optimize a GIF color palette for Slack emojis?

The best way to optimize a GIF color palette for Slack emojis is through color reduction. This Skill handles palette optimization by limiting colors, such as generating a 128x128 animated GIF with 48 colors to ensure visual quality and compliance.

Does imageio-ffmpeg work with Slack GIF creation for adjusting frame rates?

Yes, imageio-ffmpeg works with Slack GIF creation for adjusting frame rates. Alongside imageio and Pillow, it processes video inputs and handles frame rate adjustments to ensure animated GIFs play smoothly within Slack constraints.

Why does my Slack custom emoji GIF fail to upload due to file size?

Your Slack custom emoji GIF fails to upload due to file size when it exceeds Slack's limits. This Skill solves this by applying image optimization, reducing dimensions, and adjusting the color palette to compress the final GIF output.