Questions tagged [apng]

Related to reading/writing Animated Portable Network Graphics (APNG) files.

APNG is supported natively in Opera and via plugins in Firefox and Chrome. svg2png can be used to convert SVG files with SMIL animation to APNG.

67 questions
1
vote
1 answer

Animated bitmaps (APNG) in OTF fonts

The Open Type font format standard 1.7 officially supports three types of colored glyphs, as required for emojis. As of late 2016, version 1.8 has added support for another variant. Platform support varies: Microsoft’s/Mozilla’s COLR/CPAL tables…
Crissov
  • 947
  • 11
  • 16
1
vote
1 answer

Is there any way to parse an APNG with an unmodified libpng?

I'd like to parse APNGs without modifying libpng. This is important because libpng may get security patches and if I modify libpng I need to maintain my version of it. Is there any way to parse APNGs without a modified libpng?
SoniEx2
  • 1,864
  • 3
  • 27
  • 40
1
vote
1 answer

APNG support for javaFX

After searching about this i found two interesting answers: Native image formats support for javaFX controlling gif image with javaFX but as i see javaFX doesn't support APNG images.How to solve this problem with any external library or write some…
GOXR3PLUS
  • 6,877
  • 9
  • 44
  • 93
1
vote
2 answers

Animating part of an image: is there a better alternative to animated GIF?

I want to animate a small section of an image. Most of the image is going to remain static and only a small section is going to animate. This can be done with animated GIFs, but is there a better alternative to this? I'm not sure if APNG is…
user1448031
  • 2,172
  • 11
  • 44
  • 89
1
vote
2 answers

Splitting APNG into png images with PHP

I have a php code that splits an animated PNG image (APNG) into frames, but there is some kind of error. The images that are created by the function are not valid (PHP does not return an image resource in PHP imagecreatefrompng() function (neither…
Timur Gafforov
  • 771
  • 3
  • 10
  • 28
1
vote
3 answers

QT5 support animated png (apng)

I'm curious if QT5 supports animated PNG (APNG)? If Yes, how will work with it? I know it support animated gif and I have to use QMovie to display animated gif, is that the same for apng ?
xchg.ca
  • 1,154
  • 2
  • 15
  • 28
1
vote
2 answers

Getting metadata of an APNG image

I am trying to get the metadata of an apng image at the moment. I have been able to get different frames from one apng file flawlessly and i am using PNGJ (a really great Standalone Java library for reading and writing PNG images), but I am not able…
chossen-addict
  • 370
  • 1
  • 7
  • 31
1
vote
2 answers

extracting png files from APNG in java

I have been trying to extract all the png files from an APNG file. i have looked for help and well there isnt much. All i could find is a open source library pngj and with it i am able to get the first frame of a APNG file. Here is the code i am…
chossen-addict
  • 370
  • 1
  • 7
  • 31
1
vote
2 answers

Library for creating animated png

I am looking for an APNG encoder in native c#, that does not rely on c/c++ libraries. So far I have only found a few readers and I'd like to avoid writing that library myself if possible.
Darcara
  • 1,598
  • 1
  • 13
  • 33
0
votes
1 answer

How to make an animated set of images with a working duration per image

I want to make an animated set of images in python. I can't use an animated gif as I need more than 256 colors. I have tried an animated png but it seems the duration argument doesn't work. Here is a MWE: import seaborn as sns import io import…
Simd
  • 19,447
  • 42
  • 136
  • 271
0
votes
0 answers

Uncaught SyntaxError using apng-js: ambiguous indirect export: default

My knowledge about how to use node-imported modules in browser-side javascript is still flaky... I want to use apng in a browser, similarly to what is done here. I have thus used npm to install the module, and then I copy/pasted the lib/index.js…
sg1234
  • 600
  • 4
  • 19
0
votes
0 answers

Convert svg animation to apng sequence

Is there any way to do this? I tried magick -background none in.svg out.png with ImageMagick 7.1.0-61, it removed the transparency and only kept the first frame of animation.
senops
  • 31
  • 3
0
votes
0 answers

Why is it possible to animate in browser if delay_num of apng file is 0 on web?

If the value corresponding to delayN is 0 in the apng information, I wonder why it is animated normally in the browser delayN information was referring to js lib (https://github.com/davidmz/apng-js/blob/master/src/library/parser.js#L62)). The…
0
votes
0 answers

How do I batch convert a gif to apng using ffmpeg

How to I convert a gif to an animated png file without increasing the file size. When I convert the gif on ezgif it increases the files size. And what would be the for loop command that would convert multiple files? I have all the files in numerical…
Sensei
  • 1
  • 1
0
votes
1 answer

APNG gets out of sync after second page refresh

I have an app with an animated UI realised via APNG images. Each block has 2 APNG images and one PNG one: Appearing (APNG) PingPong (APNG) Static (PNG) I need to play the second animation right after the first one is finished and only make visible…