Tagged articles
26 articles
Page 1 of 1
vivo Internet Technology
vivo Internet Technology
Aug 20, 2025 · Mobile Development

How to Load GIFs in Android AppWidgets Without Bloating Your APK

This article explores the challenges of displaying GIFs in Android AppWidgets, evaluates two native approaches—ViewFlipper and AnimatedImageDrawable—highlights their limitations, and presents a network‑based solution that parses GIF frames and uses RemoteViews to animate them while staying within memory constraints.

AndroidAnimatedImageDrawableAppWidget
0 likes · 17 min read
How to Load GIFs in Android AppWidgets Without Bloating Your APK
Python Programming Learning Circle
Python Programming Learning Circle
Mar 28, 2025 · Fundamentals

Convert Video to GIF with Python and MoviePy

This tutorial demonstrates how to use Python's MoviePy library to convert videos into GIFs, covering installation, basic conversion, size reduction via resizing and frame‑rate adjustment, extracting sub‑clips, and specifying output resolution with clear code examples.

GIFmoviepyvideo-to-gif
0 likes · 4 min read
Convert Video to GIF with Python and MoviePy
Mashang Consumer UXC
Mashang Consumer UXC
Nov 12, 2024 · Frontend Development

Why Motion Design Matters: Boosting UX with Effective Animations

This article explores the importance of motion design in product interfaces, detailing its benefits such as reduced learning cost, brand differentiation, user conversion, and engagement, while providing practical guidance on tools, optimal animation durations, physical motion principles, output formats like GIF and Lottie, and effective handoff documentation for developers.

GIFLottieUI animation
0 likes · 9 min read
Why Motion Design Matters: Boosting UX with Effective Animations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 7, 2024 · Backend Development

Building a Fish Knowledge Quiz Bot and a Nostalgic Chess Game with Coze: Workflow, Database, and Node.js Image Generation

This article explains how to create two interactive Coze bots—a fish‑knowledge quiz and a nostalgic 147‑258‑369 chess game—by designing workflows, integrating large language models, using databases, and implementing Node.js code for canvas drawing and GIF generation, complete with deployment tips.

AIBot DevelopmentCoze
0 likes · 10 min read
Building a Fish Knowledge Quiz Bot and a Nostalgic Chess Game with Coze: Workflow, Database, and Node.js Image Generation
IT Services Circle
IT Services Circle
Apr 17, 2022 · Fundamentals

Reversing a GIF Using Python Pillow (PIL)

This tutorial explains how to reverse an animated GIF by loading it with Pillow, extracting each frame, reversing the frame order, and saving the result as a new GIF, providing complete Python code and step‑by‑step instructions.

GIFImage Processingpillow
0 likes · 3 min read
Reversing a GIF Using Python Pillow (PIL)
Python Programming Learning Circle
Python Programming Learning Circle
Feb 14, 2022 · Fundamentals

How to Convert Video to GIF Using Python and MoviePy

This tutorial explains how to install the MoviePy library, write Python code to load a video file, and generate a GIF while controlling size through resolution scaling, frame rate reduction, sub‑clipping, and output dimensions, all with clear code examples and visual results.

GIFTutorialVideo processing
0 likes · 4 min read
How to Convert Video to GIF Using Python and MoviePy
Laravel Tech Community
Laravel Tech Community
Aug 28, 2021 · Backend Development

PHP imagegif() Function: Output GIF Image to Browser or File

The article explains PHP's imagegif() function, detailing its parameters, return values, and providing a complete example that creates a true‑color image, adds text, sets the appropriate header, outputs the GIF directly to the browser, and cleans up the resource.

BackendGD libraryGIF
0 likes · 2 min read
PHP imagegif() Function: Output GIF Image to Browser or File
Laravel Tech Community
Laravel Tech Community
Aug 13, 2021 · Backend Development

Using PHP imagecreatefromgif to Load and Process GIF Images

The article explains PHP's imagecreatefromgif function, detailing its purpose, parameters, return values, and provides a complete example that loads a GIF, handles errors by generating a placeholder image, and outputs the result as a GIF, illustrating practical backend image processing.

BackendGIFimage-processing
0 likes · 2 min read
Using PHP imagecreatefromgif to Load and Process GIF Images
Python Programming Learning Circle
Python Programming Learning Circle
May 5, 2021 · Fundamentals

Python Scripts for Various Automation Tasks: Web Scraping, Chatbots, Poem Classification, Lottery Generation, Apology Writing, Screen Capture, and GIF Creation

This article presents a collection of Python 3.6.4 scripts that demonstrate how to scrape Zhihu images, converse with chatbots, classify Tang poems using NLP, generate random lottery numbers, automatically compose apology letters, capture screen images, and create animated GIFs, providing practical code examples for each task.

AutomationChatbotGIF
0 likes · 9 min read
Python Scripts for Various Automation Tasks: Web Scraping, Chatbots, Poem Classification, Lottery Generation, Apology Writing, Screen Capture, and GIF Creation
UC Tech Team
UC Tech Team
Nov 9, 2018 · Frontend Development

Replacing GIF Animations with HTML5 Video: A Practical Guide

This article explains why GIFs are inefficient for web animation, demonstrates how to convert GIFs to MP4 or WebM using ffmpeg, and shows how to embed the resulting HTML5 video so it behaves like a GIF while improving performance and file size.

GIFHTML5 videoffmpeg
0 likes · 10 min read
Replacing GIF Animations with HTML5 Video: A Practical Guide
Tencent Music Tech Team
Tencent Music Tech Team
Jul 28, 2017 · Mobile Development

Dynamic Image Formats and Performance Comparison on Android

The article defines dynamic image formats, traces their history from GIF to WebP, compares GIF, APNG and WebP features and Android decoding performance, showing WebP offers smaller files and faster loading at higher CPU cost, while GIF remains most compatible and CPU‑efficient.

APNGAndroidDynamic Images
0 likes · 19 min read
Dynamic Image Formats and Performance Comparison on Android
Tencent Music Tech Team
Tencent Music Tech Team
Jun 30, 2017 · Fundamentals

Understanding GIF Format, LZW Compression, and Color Quantization Techniques

The GIF format, introduced by CompuServe in 1987, uses LZW lossless compression and a block‑based file structure supporting 256‑color palettes, transparency, and animation, while efficient color‑quantization methods such as octree trees dramatically speed encoding compared to slower median‑cut algorithms without sacrificing visual quality.

GIFLZWPerformance Optimization
0 likes · 18 min read
Understanding GIF Format, LZW Compression, and Color Quantization Techniques
21CTO
21CTO
Jun 28, 2017 · Fundamentals

Unveiling the GIF Format: Structure, iOS Quirks, and Animation Mechanics

This article explains the GIF image format’s LZW compression, container structure, and data blocks, highlights its limitations and iOS playback issues, details the file’s header, logical screen descriptor, color tables, and extension blocks, and demonstrates how animation timing and transparency are controlled.

File StructureGIFLZW
0 likes · 12 min read
Unveiling the GIF Format: Structure, iOS Quirks, and Animation Mechanics
Hujiang Design Center
Hujiang Design Center
Mar 9, 2017 · Mobile Development

Avoid Common Pitfalls When Creating iMessage Stickers

This guide walks you through iMessage sticker creation, covering Apple’s specifications, size and animation frame limits, format choices between GIF and APNG, compression techniques, and practical tools, all illustrated with real‑world examples and user feedback.

APNGGIFiMessage
0 likes · 8 min read
Avoid Common Pitfalls When Creating iMessage Stickers
Aotu Lab
Aotu Lab
May 20, 2016 · Frontend Development

How to Create Frame‑by‑Frame Animations with CSS3, JavaScript, and GIF

Frame‑by‑frame animation, also known as sprite animation, can be implemented on the web using three main techniques—GIF, JavaScript, and CSS3 animation—each with its own workflow, advantages, and limitations, and the article walks through practical examples, code snippets, and tips for optimal performance.

GIFJavaScriptframe-by-frame animation
0 likes · 8 min read
How to Create Frame‑by‑Frame Animations with CSS3, JavaScript, and GIF