APNG not fully supported !

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

APNG not fully supported !

Post by ouistiti »

:arrow: Pierre

The APNG support by XnView doesn't conform totally the specs,
because if one uses the feature “Hide the first frame”, XnView crashes :
AppName: xnview.exe AppVer: 1.92.0.0 ModName: xnview.exe
ModVer: 1.92.0.0 Offset: 000a5f71
- This can be reproduced using a special sample available HERE.
- I already noticed such a crash even using GifMovieGear, when the first round is ended, and that XnView comes back to the first frame which must be hidden —> crash !

- This first hidden frame is added for the old viewers which don't support APNG at all, to be displayed as an ordinary PNG with i.e. the message “Your browser doesn't support APNG”.
That message is displayed prior in XnView, while it shouldn't !
Maybe some codes to check ?

Friendly

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

100% hung

Post by Clo »

:arrow: ouistiti

:) Hello Paul !

• I can confirm : The programme crashes 100% while in old viewers, only the #1 message-frame is displayed as expected.
…That message is displayed prior in XnView, while it shouldn't !
• Indeed ! That kind of test-file is designed to check wheather a viewer¦browser supports really APNG, isn't it ?

:mrgreen: Friendly,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46606
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: APNG not fully supported !

Post by xnview »

ouistiti wrote::arrow: Pierre

The APNG support by XnView doesn't conform totally the specs,
because if one uses the feature “Hide the first frame”, XnView crashes :
AppName: xnview.exe AppVer: 1.92.0.0 ModName: xnview.exe
ModVer: 1.92.0.0 Offset: 000a5f71
- This can be reproduced using a special sample available HERE.
- I already noticed such a crash even using GifMovieGear, when the first round is ended, and that XnView comes back to the first frame which must be hidden —> crash !
Ok, right!
- This first hidden frame is added for the old viewers which don't support APNG at all, to be displayed as an ordinary PNG with i.e. the message “Your browser doesn't support APNG”.
That message is displayed prior in XnView, while it shouldn't !
You see the first hidden frame in viewer???
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

YEEESSS !

Post by Clo »

—> Pierre

:) Again…
You see the first hidden frame in viewer???
• YES ! Just before the crash… :(

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti »

:arrow: Pierre

- That bug is almost fixed in version 1.92. No more crash, and the first frame is hidden alright in View and Browser -> Preview.
- The animation works for the frames from #2 to #n…


- But the thumb nail shows still the unwanted first frame…
- Isn't it possible when the first frame is to be skipped to show the second frame, like i.e. for videos (where the frame #1 is always black) ?

Friendly

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

And also

Post by Clo »

:arrow: ouistiti

:) Hello Paul !
- That bug is almost fixed in version 1.92.…
- Confirmed !
…- But the thumb nail shows still the unwanted first frame…
• Confirmed too, I guess that the second frame should be logical.

• Aside :
- With 32 BPP images and a 16 BPP screen, the thumb nails have a black BG. With a 32 BPP screen, it's OK.
- I wonder why the chequered pattern is not applied there,
while it's set and works in Preview and View with a 16 BPP screen…

:mrgreen: Friendly
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply