Which one has the higher quality, a 1920x1080 gif, an animated webp with the same resolution, or an apng with a lower resolution?
Also, 32bit images are 8 RGBA (8 RGB with alpha transparency), right? Do images with alpha transparency have higher quality than regular images?
+ Reply to Thread
Results 1 to 6 of 6
-
-
Not gif, because it can only store 256 colors. webp RGB and apng can store ~16.3 million color combinations
Animated webp lossless is RGB, so that would be the highest quality. Apng could be the same quality if the same resolution
Also, 32bit images are 8 RGBA (8 RGB with alpha transparency), right?
Do images with alpha transparency have higher quality than regular images?
If the source had alpha transparency, then yes the output would be higher quality for RGBA, than if the output discard the "A" channel and only kept RGB - there would be no transparency, which is different than the source -
-
Lossless animated webp expects RGBA (actually "BGRA"), so if your input is something different, then either you let it convert automatically (possibly incorrectly), or you control the conversion. If it's a video input, and that video has proper colorimetery flags, the conversion should be ok , usually
Normally you loop them (like a GIF animation) , so they repeat . If you want to play once, remove the loop command
Code:ffmpeg -i input.ext -loop 0 -c:v libwebp_anim -lossless 1 animated_webp_lossless.webp
-
-
"Lossless" means no quality loss . Same quality as the input. You can't get higher quality
If it's the same pixel format, and assuming it's handled correctly - lossless quality is the same as lossless quality - in terms of image quality
But there are other attributes to consider - such as compatibility (avif has lower compatibility)
Playback latency - avif will generally take more CPU than webp and can sometimes be more jerky for playback of higher FPS animations. If it's dropping frames for playback, that is a type of display "quality loss " , even if the file itself is perfect if you go frame by frame
Similar Threads
-
Video to APNG
By Jay123210599 in forum Newbie / General discussionsReplies: 18Last Post: 25th Dec 2023, 11:18 -
animated webp test
By poisondeathray in forum TestReplies: 17Last Post: 29th Aug 2023, 14:07 -
Output gif shorter than input gif
By Mugunga in forum Video ConversionReplies: 1Last Post: 23rd May 2023, 13:48 -
Transparent background MOV to Apng animation output size difference
By stealthrt in forum Video Streaming DownloadingReplies: 1Last Post: 26th Jan 2022, 18:14 -
How to convert -- Animated Gif's to Mpeg?
By cornemuse in forum Video ConversionReplies: 5Last Post: 13th Jul 2020, 09:56