Announcement

Collapse
No announcement yet.

Animated GIFs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    no bug Animated GIFs

    I tried to find why IrfanView is unable to play animated GIFs created by VirtualDub.
    I created animated GIF as simple as possible which can demonstrate this problem.
    Click image for larger version

Name:	Anim_gif_3frames_3palletes256_no_global_palette.gif
Views:	1
Size:	2.5 KB
ID:	84763

    While all browsers and programs I have tested play this GIF without problems, IV doesn't.
    Click image for larger version

Name:	result_in_IV.gif
Views:	1
Size:	4.2 KB
ID:	84765
    It looks like depending on GIF configuration IV has problem correctly show transparent color.
    Click image for larger version

Name:	frames.png
Views:	1
Size:	605 Bytes
ID:	84764
    In the 2nd frame the black is transparent, but IV probably use yellow as transparent.
    In the 3rd frame the black is transparent, but probably red is taken as transparent (so we see black from the 2nd frame instead of red).

    It probably depends on GIF parameters:
    - The GIF has no global palette, every frame has its own palette (VirtualDub use this approach)
    - The palette(s) have 256 colors. I tried to make this GIF with only 8 colors, but IV plays it right.
    - Probably depends on palette indices. Green, yellow and red colors have index 1, grey index 2, transparent color index 255.
    Different indices has different results in IV.

    Tested: IrfanView 4.40 - 32bit
    VirtualDub 1.9.11
    Last edited by bflmpsvz; 18.02.2016, 02:42 PM.

    #2
    Hi,
    In IV 4.41 (both 32-bit and 64-bit) the gif is shown correctly.
    Win 10/64 Home 22H2 IrfanView 4.70/64
    Hate has caused a lot of problems in this world, but it has not solved one yet. (Maya Angelou)

    Comment


      #3
      No problems here either, but I can confirm that issue with IV 4.38. So hopefully you just have to update the program.
      IrfanView 4.62 64-bit

      Comment

      Working...
      X