ObjReader Community
SDK programming => 64-bit SDK programming => Topic started by: Patrice Terrier on July 23, 2025, 09:52:27 am
-
Reading and Writing APNG (Animated PNG) Made Simple
Handling APNG files — both reading and writing — has always been a challenge.
This clean application provides a streamlined solution for both.
💡 Usage
Just drag and drop any image onto the window.
The application automatically detects the format and processes it accordingly:
- Native APNG files
- GDImage PNG animations
- Horizontal stride images (multi-frame strip in a single PNG)
The animation is parsed, displayed, and optionally re-encoded using the new internal APNG API.
🛠️ What’s included
The complete 64-bit Visual Studio 2022 source code is attached to this post.
It demonstrates how to load, display, convert, and rebuild animated PNGs with precision and full control.
Flowchart overview
(http://www.objreader.com/download/images/diagram.jpg)
And a working APNG example
(http://www.objreader.com/download/images/New_APNG.png)
-
The project has been updated to link with TCLib.lib to reduce the size of the binary EXE down to 13 Kb, including the icon!
The FreeBasic 64-bit version is here. (https://www.freebasic.net/forum/viewtopic.php?t=33253)