VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    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?
    Quote Quote  
  2. Originally Posted by Jay123210599 View Post
    Which one has the higher quality, a 1920x1080 gif, an animated webp with the same resolution, or an apng with a lower resolution?
    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?
    Yes

    Do images with alpha transparency have higher quality than regular images?
    The alpha channel is only for transparency. The R,G,B channels would be the same quality for lossless formats. If the source did not have alpha transparency, then the quality is the same

    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
    Quote Quote  
  3. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Originally Posted by Jay123210599 View Post
    Which one has the higher quality, a 1920x1080 gif, an animated webp with the same resolution, or an apng with a lower resolution?
    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?
    Yes

    Do images with alpha transparency have higher quality than regular images?
    The alpha channel is only for transparency. The R,G,B channels would be the same quality for lossless formats. If the source did not have alpha transparency, then the quality is the same

    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
    How do I make a lossless animated webp file, then?
    Quote Quote  
  4. Originally Posted by Jay123210599 View Post

    How do I make a lossless animated webp file, then?
    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
    Quote Quote  
  5. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Originally Posted by Jay123210599 View Post

    How do I make a lossless animated webp file, then?
    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
    Does it higher quality than lossless animated avif files?
    Quote Quote  
  6. Originally Posted by Jay123210599 View Post
    Does it higher quality than lossless animated avif files?

    "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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!