Author Topic: APNG Viewer  (Read 2589 times)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 2010
    • zapsolution
APNG Viewer
« 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




And a working APNG example






« Last Edit: July 24, 2025, 02:20:22 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 2010
    • zapsolution
Re: APNG Viewer
« Reply #1 on: July 24, 2025, 02:22:51 pm »
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.
« Last Edit: July 24, 2025, 05:22:55 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)