Tag

APNG

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Mobile Development

Understanding Apng and Implementing Animation Playback on Android

APNG, a high‑quality animated PNG format offering 24‑bit color and 8‑bit alpha transparency, outperforms GIF in visual fidelity and file size, and on Android can be parsed and rendered via MappedByteBuffer and SurfaceView using background threads to load frames from memory, eliminating I/O lag and UI blocking.

APNGAndroidGraphics Programming
0 likes · 13 min read
Understanding Apng and Implementing Animation Playback on Android
iQIYI Technical Product Team
iQIYI Technical Product Team
Dec 25, 2020 · Frontend Development

Optimizing Live Streaming Gift Animations: Formats, Performance, and Implementation on Qixiu PC Web

The article explores how Qixiu’s PC web client evolved gift‑animation formats—from Flash and APNG to a custom IXD and dual‑MP4 with alpha channel—optimizing file size, loading speed, and rendering performance via Canvas and WebGL, ultimately choosing the MP4 solution for quality, efficiency, and designer friendliness.

APNGAnimation FormatsWebGL
0 likes · 12 min read
Optimizing Live Streaming Gift Animations: Formats, Performance, and Implementation on Qixiu PC Web
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Aug 6, 2020 · Frontend Development

APNG Animation Implementation: Canvas 2D and WebGL Rendering

The article explains APNG’s file structure and decoding process, then demonstrates how to render animated PNGs on the web using both Canvas 2D (with drawImage, clearRect, getImageData, putImageData) and WebGL (via multiple textures and custom disposal/blending handling) for efficient, controllable animation playback.

APNGBinary DataCanvas 2D
0 likes · 12 min read
APNG Animation Implementation: Canvas 2D and WebGL Rendering
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 13, 2019 · Frontend Development

How to Reverse a Firefox Logo Animation by Manipulating APNG Files

This article explains how to reverse a clockwise‑rotating Firefox logo animation by understanding the APNG file format, identifying frame chunks, and rewriting the binary data with JavaScript to play the frames in reverse order.

APNGJavaScriptanimation reversal
0 likes · 12 min read
How to Reverse a Firefox Logo Animation by Manipulating APNG Files
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