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.

58 questions
1
vote
1 answer

Choose APNG fallback frame

By default, browsers without APNG support will display the first frame of the sequence. Is there a way of choosing which frame will be used as a fallback? In most cases, the last frame would make more sense than the first for me.
1
vote
1 answer

How to Splitting APNG into png images and convert to animate gif by PHP

I want to convert apng to gif by imagemagick, but I don't know how to do I see Splitting APNG into png images with PHP I try it but it still no work in my image I something like 1.ezgif.com/apng-to-gif…
1
vote
0 answers

How can I convert an animate PNG to GIF keeping animate?

how do i convert animate apng to gif keep animate by php? i saw the PHP: imagegif - Manual like that but the output gif is without animate $png = imagecreatefrompng('./X.png'); imagegif($png, './php.gif'); ?> wish it can keep the animate
1
vote
0 answers

How can I programmatically create APNG files?

Generally I use PHP, and ImageMagick, but as far as I can tell it seems the ImageMagick group refuse to implement the ability to create/understand animated PNG files? What tooling can I implement to take a dozen JPEG files and create an animated PNG…
Codemonkey
  • 3,681
  • 4
  • 34
  • 68
1
vote
0 answers

How to save keyframe animations as APNG or GIF?

I want to convert a transparent SVG animated with keyframes into either APNG or a transparent GIF. How do I do this?
daegontaven
  • 755
  • 12
  • 29
1
vote
1 answer

Animated PNG (APNG) to GIF using Python

Does anyone have any ideas how to do it? I tried using a PIL, apng, and imageio, but it didn't work.
White
  • 11
  • 2
1
vote
0 answers

Swift: how to compress apngs for iMessage extension?

Alright, I have just recently learned the difference between png and apng but I have a custom sticker message extension with animating stickers using classes from this framework project : https://github.com/radif/MSSticker-Images Apple's size limit…
skyguy
  • 6,503
  • 11
  • 53
  • 137
1
vote
2 answers

Is there a way to distinguish APNG and PNG images before downloading them?

I checked the http header and their content type is both image/png. I need to sth different based on if an image is a PNG or APNG, like if it's a PNG, display it directly. If it's an APNG, display the first frame and only start downloading the whole…
njuxjy
  • 385
  • 3
  • 12
1
vote
0 answers

APNG files not working in Xcode for iMessage Stickers?

I'm having trouble getting .APNG files to work - they preview correctly in Firefox (meaning when drag'n'dropped into a Firefox window, they animate the way they're supposed to) but when I drag'n'drop the same file into xcode, I see only the first…
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
  • 815
  • 8
  • 12
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,484
  • 1
  • 18
  • 35
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
  • 5,939
  • 3
  • 30
  • 79
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. So basically most part of the image is going to remain static and only a small section is going to animate. This can be done with animated GIF but is there a better alternative to this? I'm not sure if…
user1448031
  • 2,044
  • 11
  • 37
  • 81
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
  • 695
  • 1
  • 10
  • 25
1
vote
2 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,105
  • 2
  • 13
  • 27