[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/apng/ - Animated PNG

RIP in pieces GIF

Catalog

See 8chan's new software in development (discuss) (help out)
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 3 per post.


File: 1412610611205.png (271.47 KB, 256x224, 8:7, yourbrainonpng.png)

 No.1

APNG is the animated extension of the PNG format. It has many advantages over GIF that you may not be aware of.
PNG
-has far better compression than GIF due to not being locked down to a proprietary compression scheme
-is not limited to 256 colors (GIF actually isn't either but file sizes explode because you lose compression past that)
-is not limited to ~50 frames per second due to calculating frame display times in 10 millisecond increments; APNG has much finer frame rate control

APNG is especially good at traditional 2D animation. WebM, a video format, animates like most videos with heavy image compression over every frame and is able to achieve very small file sizes at the expense of visual fidelity. In contrast, like AGIF, APNG has the advantage of outright discarding visual information that doesn't change from one frame to another ("alpha channels") while being a lossless format. APNG also provides superior file sizes compared to WebM's lossless animated-supporting image format sibling, WebP.

 No.2

File: 1412610690461-0.gif (2.45 MB, 256x224, 8:7, mizzilesz.gif)

File: 1412610690461-1.png (917.02 KB, 256x224, 8:7, mizzilesz.png)

Here is an example of potential file size savings comparing an identical animated GIF with its animated PNG. The APNG is nearly a third of the file size!

 No.7

Well, maybe this board wasn't worth making after all… I'm too incompetent to advertise it around and nobody else seems to care.

 No.8

>>1
>>2
Holy fuck jesus christ this is cool as shit. Hotwheels should support this shit ang have to autoplay without needing to open it in a new tab.

>>7
Better than the board I created. https://8chan.co/vol/ only 1 post and it's shitposting. Just like /ancap/ it's going to be shitposted to oblivion by statists and ancoms. even if it does get posts.

 No.9

>>8
>Hotwheels should support this shit ang have to autoplay without needing to open it in a new tab.

sorry, a bit drunk.
Let me rephrase that.

Would it be possible to have them autoplay like the gif file without having to open the image separately from the website itself?

If so, I want hotwheels to add support for this because this is equivalent to the discovery of WebM to me. The future of smug reaction images is here.

 No.10

File: 1412789729260.png (13.09 KB, 130x129, 130:129, ;^) rotate.png)

>>9
They play when I click on the image inside a post if that's what you mean. Are you saying that doesn't work for you?

 No.37

I'm game. I always wondered how to make these. Don't delete the board, even if it only exists as a dead info dump.

 No.48

I really want to see some animation already that takes advantage of APNG's partial transparency features. GIF has always been limited to either full transparency or nothing, but PNG can do semi transparency with many difference "shades" of transparent-ness. What sort of tricks can you do with that?

 No.60

File: 1413876494103.png (383.96 KB, 256x192, 4:3, APNG-Fadeout.png)

>>48
>What sort of tricks can you do with that?

Not much. Here's some fading done with completely black frames.

 No.62

>>60
Neat. I imagine that takes up very considerably less file size than it if were done in GIF? If you did it in GIF you would need to generate more-unique transitional frames from the original picture to the black slide.

 No.65

Yes, transitional frames (0,0,0,alpha) take very little space here.

 No.66

>>10
It doesn't for me. I can't see them moving. I'm using chrome also.

 No.67

>>66
Chrome doesn't support APNG natively but there's an add-on for it.

 No.192

This needs to spread like wildfire.

 No.193

>>192
Comrade, remember to do your part. Post animated PNGs, instead of animated GIFs, whenever the opportunity arises! Not only will you save your own website/8ch some bandwidth, but you will help the noble cause of integrating the superior form into web culture.

 No.204

>>1

>APNG has the advantage of outright discarding visual information that doesn't change from one frame to another ("alpha channels") while being a lossless format.

Does that mean that apng's cant be transparent or that the transparency stays constant? Or something else that I am missing?


 No.205

>>204

>tfw I just realized I am never going to get a response here


 No.208

>>204

You can see an animated PNG with plenty of transparency here for instance.

>>10

The transparency is how the background has the same color as the post it's framed in.


 No.209

Okay say you're creating an animation in GIF or PNG from a couple different images. You could simply take both of those images together and leave it at that, but you'll have a fairly large file. The way that animated GIF and PNG save space is by discarding the parts of the second image that are identical to the first and replacing them with transparency. Then, the first image is combined with the second image overlaying it in the second frame of animation; parts of the first image show up through the transparent "holes" in the second image. This creates the same visual effect as replacing the first image entirely with the second, but allows you to discard a lot of unnecessary extra information and thus decrease the file size.

So to answer your question, APNGs can be transparent, and the transparency can stay constant throughout the animation should you desire it to.

The reason this was brought up was to contrast with dedicated video formats like WebM or MP4. It is possible to encode a lossless video with those formats, but because they don't have the technique of removing redundant visuals between frames, the file size simply cannot compete with GIF or PNG.

Reposted because that was a mess.


 No.210

>>209

… And I managed to leave out the post this was replying to

>>204


 No.216

IP bump for board awareness.


 No.217

File: 1433084753619.png (485.51 KB, 500x500, 1:1, ;^).png)

>>216

Thanks friend!


 No.223

>>216

Same.


 No.227

>>60

I'm wondering now if there's a way to save space by simulating a lighting system's interaction with an object through different grades of transparency.


 No.228

>>216

bumping


 No.249

thread bump!


 No.265

threadbump


 No.287

File: 1443224979761.png (111.35 KB, 672x434, 48:31, 1422127922293.png)

>>2

That's neat as fuck!

That's like, a magic type of storage for video, it's great


 No.311

Hey i am fascinated by apng too!

Problem is

How do i convert a lossless avi to an APNG ?

I have some short lossless videos from emulators (60fps, 10 -20 sec at most but about 300mb each) that i'd love to turn into APNGs to preserve the most amount of quality while providing an actually downloadable file


 No.314

>>311

Yes, this format is great for 2D emulator stuff!

What I do is dump the frames via VirtualDub and then assemble the APNG from those via apngasm.


 No.325

>>314

Could you show me how this is done?, i tried but failed miserably


 No.326

File: 1446057439917-0.png (391.13 KB, 784x596, 196:149, framestoapng.png)

File: 1446057440120-1.png (2.73 MB, 320x224, 10:7, Gradius III lizard core.png)

>>325

Sure thing.


 No.330

>>326

Thanks, nice tutorials btw.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]