/meta/ - meta

General sitewide meta


New Reply[×]
Name
Email
Subject
Message
Files Max 5 files50MB total
Tegaki
Password
[New Reply]


__hatsune_miku_and_kagamine_rin_vocaloid_and_1_more_drawn_by_chan_co__b2cbb077cb701c51e0f18aa1e4544c4a.gif
[Hide] (102.7KB, 671x467)
apng_bad_mimetype.png
[Hide] (10.7KB, 434x92)
How much work would it be to add these as an option? PLW had them, ZZZchan apparently has them on its jschan setup, and they're a lot of fun (if a little distracting to scroll by sometimes). 
An extra bit of fun would be animated thumbnails for APNGs. As far as I know, no imageboard has implemented these yet, even though 8chan had a dedicated /apng/ board back in the day. They can be smaller than GIFs, support lossless animations, and aren't as gay as WEBP. They were also finally adopted as an official PNG extension last year, and are supported in every major browser now that ((( Microsoft Edge ))) uses ((( Chromium ))).

>try to include apng in my post
>get a bad mimetype error
At the very least I'd appreciate being able to post APNGs even if you guys don't end up generating thumbnails for them.
<related:
>animated WEBPs which don't work here ( >>>/mecha/1043 ).
Last edited by chobitsu
elephant.png
[Hide] (370.1KB, 480x400)
test
Webp doesn't work because graphicsmagick doesn't seem to even support this format:
identify: ImproperImageHeader `/tmp/magick-p2LwUFNkQKtJIPxVp7bG5A3AugcjofDI' @ error/pnm.c/ReadPNMImage/354.
Besides, is there a single program besides webbrowsers, which support apng viewing? Last time I checked ffmpeg still didn't support it.
Replies: >>1647 >>1649
>>1646
Hmm, looks like ffmpeg now supports apng. Converting that elephant from apng to apng with ffmpeg results in a 2x filesize. Even that gif which practically has no compression is smaller than the converted apng. How can ffmpeg be this crap?
Replies: >>1649
Intredasting. Who knows what you can figure out here, @Admin. Good luck.
534220f36372f55f80c0e84776fe76502e11fafa76a0ca9a06f1f039149cc998.png
[Hide] (24.1KB, 636x125)
apng_support.png
[Hide] (317.3KB, 895x2028)
>>1646
I know the image viewers sxiv and its successor nsxiv support apng because I've used both programs, and now that I've tested the latter, I can confirm that it supports animated webp images as well. ImageMagick has supported apng since late 2020, according to pics related ( https://web.archive.org/web/20211205042057/https://imagemagick.org/script/changelog.php ).
As for apng filesizes in >>1647, some of that like has to do with whatever compression ffmpeg is (or isn't) doing. apngopt, for example, offers to compress the format with either zlib, 7z, or zopfli. The last option produces the smallest files, but takes long enough that it's definitely a bad fit for compressing post thumbnails.
Really, if animated apng thumbnails end up being too big of a headache, you don't have to bother. It's likely that no imageboard has offered that yet for a reason.
Replies: >>1650 >>1651
>>1649
tested the latter for it*
>>1649
>sxiv
Intarasting, I have sxiv, and it definitely doesn't play apngs (or animated webp or gif for that matter).
>imagemagick
Yes, but jschan uses graphicsmagick, which is a fork of some ancient version of imagemagick, and it doesn't seem to support apng. (And even imagemagick needs the user to explicitly specify the filename as apng:filename which kinda defeats the purpose)
>ffmpeg
From a quick look it looks like they don't use libpng but built their own png encoder which sucks. There's a -compression_level flag, but setting it to 9 (the supposed maximum) just makes encoding way slower with minimal filesize changes. apngopt with -z0 (to use zlib, not the slow 7z) seems like the best compromise, but even that's hovering on the being too slow for thumbnail generation.
Replies: >>1652
>>1651
Huh. I must be misremembering that detail about sxiv then, as I only used it years ago when it was actively maintained-
>or gif for that matter
Okay, I know for a fact sxiv had them, as its github page says so. It just doesn't autoplay gifs: you have to hit control-space.
>From a quick look it looks like they don't use libpng but built their own png encoder
Classic ffmpeg.
[New Reply]
9 replies | 5 files | 4 UIDs
Connecting...
Show Post Actions

Actions:

Captcha:

- news - rules - faq -
jschan 1.7.3