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
16
votes
3 answers

Can I programmatically determine if a PNG is animated?

I have PNG (as well as JPEG) images uploaded to my site. They should be static (i.e. one frame). There is such thing as APNG. (it will be animated in Firefox). According to the Wikipedia article... APNG hides the subsequent frames in PNG ancillary…
alex
  • 438,662
  • 188
  • 837
  • 957
14
votes
1 answer

Displaying an animated PNG (apng) using Swing?

I'm trying to display an animated png (known as apng), by adding the image to a JLabel as usual. This works fine with normal gif-animations, however, I'd prefer to be able to support apng aswell. I've been searching the net for existing frameworks…
Zar
  • 6,272
  • 6
  • 49
  • 74
13
votes
4 answers

APNG vs GIF. Which is Better?

I have been using Gifs for those small loading images. Have been working great except the occasional transparency issues and 8 bit colors. Now I found out about the APNG recently. But don't know if i should be using it. Does it have enough browser…
Ruchan
  • 2,852
  • 7
  • 32
  • 68
12
votes
3 answers

APNG inside iOS app

I'm probably going to get flamed for this. I am wondering if anyone know of any way to load APNG (animated PNG) inside an iPhone app? I'm not talking about multiple PNG image added as an NSArray of UIImages to a UIImageView. I already can do this…
Zhang
  • 11,253
  • 6
  • 51
  • 80
11
votes
1 answer

Using ffmpeg to create looping apng

I'm trying to create looping apng files from mkvs. My problem is that they don't loop. The files play once, but stop. This is what I'm doing: ffmpeg -ss 16:43 -i ./10.mkv -loop 10 -t 1 -filter:v "setpts=PTS-STARTPTS, crop=1200:800,…
Harry
  • 47,045
  • 66
  • 163
  • 243
11
votes
1 answer

How do I use animated PNG in Delphi?

How do I use animated PNG in Delphi?
hikari
  • 3,174
  • 27
  • 64
7
votes
1 answer

How can I play APNG files in android

I want to play APNG files and create animated stickers in my app like LINE messenger! I can create apng using some tools like APNG Assembler. but I dont know how to play animated png in my app. help me please!
farhad.kargaran
  • 1,932
  • 1
  • 18
  • 27
7
votes
1 answer

What are the differences between APNG and MNG?

I know that APNG is an extension of PNG, while MNG is more of its own format (albeit developed by the original PNG developers). MNG is barely supported in any browser at all, while APNG almost only has native support in Firefox (for various backward…
obskyr
  • 1,129
  • 1
  • 7
  • 23
7
votes
4 answers

Join up PNG images to an APNG animated image

Is it possible somehow to join up PNG images to an APNG animated image using nodejs? I've found PHP library only: link
don kaka
  • 979
  • 2
  • 11
  • 27
5
votes
1 answer

Implementing the APNG Render Function

Hey everyone, So, I'm currently trying the implement the APNG Specification, but am having some trouble with the frame rendering. My function is private void UpdateUI() { foreach (PictureBox pb in pics) { APNGBox…
Roadrunner-EX
  • 804
  • 10
  • 23
4
votes
0 answers

Is there a way to pause an Animated .PNG (APNG) on the webpage?

I'd like to support APNG files, but with hover to animate functionality on some pages so it's not too overwhelming. I'd rather not have to store both an animated and still version of the user profile picture to do so and instead just pause the…
psyda
  • 41
  • 2
4
votes
2 answers

Convert apng to gif with sufficiant resolution and color depth

I want to convert some animated PNG (APNG) images to animated GIF. I can successfully convert with a utility I found on the web called apng2gif. Expertly named if I may say. The problem is it does not convert the images with sufficient color depth…
David Kierans
  • 1,559
  • 1
  • 15
  • 22
3
votes
1 answer

Is there a way to control which frame an APNG starts from using javascript?

I'm trying to make an APNG play on mouseover, then get the frame the APNG is on on mouseout, then use that frame to play a reversed APNG so that there's a smooth transition. I tried searching around but couldn't really find much. Basically I want to…
Cosmos
  • 41
  • 3
3
votes
4 answers

How can I detect whether an image is a PNG or APNG format?

Possible Duplicate: Can I programatically determine if a PNG is animated? APNG is backwards compatible with PNG. I opened up an apng and png file in a hex editor and the first few bytes look identical. So if a user uploads either of these…
perlit
  • 319
  • 3
  • 12
3
votes
2 answers

How can I split animated PNG with PHP?

There are a lot of solutions about how to create an APNG image (animated PNG), but how can I split APNG image frames into separate images? Thanks in advance.
Timur Gafforov
  • 695
  • 1
  • 10
  • 25
1
2 3 4