Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Resizing Animated GIFs Without CGO or Third-Party Libraries in Pure Go

GoLab conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to implement animated GIF resizing in pure Go during this conference talk from GoLab. Discover why using ImageMagick and C library wrappers can cause security concerns, container environment issues, and performance overhead. Follow along with a step-by-step implementation covering basic resizing techniques, frame optimization handling, addressing black glitchy noise issues, and managing frame disposal according to GIF specifications. Explore practical solutions using only standard libraries and golang.org/x packages, with code examples demonstrating each implementation stage. Gain insights into parallelization techniques for performance optimization and see real-world results including 40-50% Docker image size reduction, successful migration to distroless containers, and 3x faster processing speeds. The presentation concludes with an introduction to the resigif library, which encapsulates these pure Go implementation techniques.

Syllabus

Resizing Animated GIFs Without CGO or Third-Party Libraries - Takuto Nagami

Taught by

GoLab conference

Reviews

Start your review of Resizing Animated GIFs Without CGO or Third-Party Libraries in Pure Go

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.