Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use animated PNG in Delphi?

How do I use animated PNG in Delphi?

like image 432
hikari Avatar asked Dec 24 '12 13:12

hikari


People also ask

Can you use PNG for animation?

PNG files don't natively support animation. If you need to animate a PNG, you'd have to use the Animated PNG (or APNG) file format. This involves using an APNG assembler to merge a sequence of PNG images into an animation – but this format isn't widely used.

What is an animated PNG called?

APNG files are Animated Portable Network Graphics, or to put it simply, animated PNG files. APNG files support 24 bit color as well as 24 bit transparency. A GIF file has an 8 bit transparency. What that means is that APNG files can handle color better and look a lot smoother when transparent.

How do I access APNG?

For Windows, you might want to use File Viewer Plus, XnViewMP, Opera, Mozilla Firefox, Google Chrome with APNG extension, or Bandisoft Honeyview to play APNG files.


1 Answers

If you are still searching for a solution then you can take a look here where I've found this library that can solve your trouble. With this complete library you can open APNG file then get number of frames etc...

like image 121
Gianluca Colombo Avatar answered Sep 28 '22 05:09

Gianluca Colombo