APNG read support…

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: THIS image---

Post by xnview »

Clo wrote:THIS PAUL'S SAMPLE - also a 8-BPP which worked alright with ß-2-
I'm not sure that this sample is correct. The picture size changed for every frame (normal), but without x/y offset
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Same---

Post by Clo »

:arrow: Pierre

:) Hello !

• Like Paul says, it worked in ß-2, I can confirm that.

- From a simple A-GIF template I have made a while ago about different frame-sizes,
Paul made another sample in the same way, and I get the same issue. It's available HERE.

• Testing this, I noticed that there's a :bug: when switching an animated image, even a GIF :

1. “View” >> “Browser” —> The animation works in the “Preview”, good.
2. “Browser” >> “View” —> The animation no longer works in “View, it's locked on a single frame.
3. “View” >> “Browser” —> The animation no longer works in “Preview”.
- It doesn't matter whether the animated images have different frame-sizes or not,
it occurs also with GIFs having all frames equal at W¦H.
- Continuing that loop leads to land in a quite empty browser for several seconds, with a pre-crash look.
- I optimized the cache, that doesn't improve the display.
- You must display a Next or Previous image in “View” or in “Browser” to break that loop.

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

Re: Same---

Post by xnview »

Clo wrote:• Like Paul says, it worked in ß-2, I can confirm that.
- From a simple A-GIF template I have made a while ago about different frame-sizes,
Paul made another sample in the same way, and I get the same issue. It's available HERE.
Yes, your samples works if i authorize different frame size in the APNG, but then this sample doesn't work anymore!
Unoptimized PNG animations play back nicely, but I can't view samples that were shrunk in size using “Dirty Rectangle” optimization:
In your 2 samples, you have no X/Y offset, and i think that it's an error!
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

The soft

Post by Clo »

:arrow: Pierre

:) Hello !
…In your 2 samples, you have no X/Y offset, and i think that it's an error!
• What can we do against that ? The frames are mounted in GifMovieGear (beta),
there's almost not any other programme to do that…
… the best being (later, later…) to have a plugin¦tool in XnView to be sure that the build is correct… Image

• What about the issue in Preview <—> View like I told above ?

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

Re: The soft

Post by xnview »

Clo wrote:
…In your 2 samples, you have no X/Y offset, and i think that it's an error!
• What can we do against that ? The frames are mounted in GifMovieGear (beta),
there's almost not any other programme to do that…
So there is a problem in GifMovieGear. I'll try
• What about the issue in Preview <—> View like I told above ?
It's the same problem...

Do you have tried APNG editor?
http://littlesvr.ca/apng/apngedit.html
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

General issue

Post by Clo »

:) Again…
Do you have tried APNG editor? …
• Paul knew it, it's a FireFox extension, and I don't use FireFox…

- The Preview - View problem occurs too in folders containing A-GIFs only,
that worked alright in old versions (checked in 1.82.4 and 1.90 alpha 3).

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

Re: General issue

Post by xnview »

Clo wrote: - The Preview - View problem occurs too in folders containing A-GIFs only,
that worked alright in old versions (checked in 1.82.4 and 1.90 alpha 3).
I can't reproduce it.
The browser is opened in a folder with animated GIF or PNG, i open a file, and i have animation
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Several times

Post by Clo »

:arrow: Pierre

:) You must do that handling several times with the same image,
here I have set LMB double-click to switch View <—> Browser
- Under XP-Pro SP1

- I prepared a video AVAILABLE HERE as a RAR archive.
- Please, notice that there are GIFs only in the folder !

: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

I can confirm, according to the Clo's video - and indeed making the operation several times for the same image

Regards

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
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Several times

Post by xnview »

Clo wrote::arrow: Pierre

:) You must do that handling several times with the same image,
here I have set LMB double-click to switch View <—> Browser
- Under XP-Pro SP1

- I prepared a video AVAILABLE HERE as a RAR archive.
- Please, notice that there are GIFs only in the folder !

:mrgreen: KR
Claude
Clo
Your video is not available???

But i think that i have reproduced it. But it's normal, and works like 1.91.6
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

It's available

Post by Clo »

:arrow: Pierre

:) Hello !

• Indeed my vidéo IS available from the link above.

- I don't think that such a behaviour is normal, that worked properly in old versions.
- I mean that the animation was not stopped the second time and following
when displaying the same image successively in “View” and “Browser”, that I do and need so often…
- I'll test in the ß-4…

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

Re: It's available

Post by xnview »

Clo wrote: - I don't think that such a behaviour is normal, that worked properly in old versions.
I have the same behaviour in 1.96.4
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Old is old

Post by Clo »

:arrow: Pierre

:) Hello !

• When I say old versions, I mean i.e. 1.90.x, 1.82.4, 1.80.3 where the animation restarts alright at least in “View” !

• Like I said in previous messages… :|

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: The soft

Post by XnTriq »

xnview wrote:
Clo wrote:
xnview wrote: In your 2 samples, you have no X/Y offset, and i think that it's an error!
• What can we do against that ? The frames are mounted in GifMovieGear (beta),
there's almost not any other programme to do that…
So there is a problem in GifMovieGear. I'll try
Clo wrote:• What about the issue in Preview <—> View like I told above ?
It's the same problem...

Do you have tried APNG editor?
http://littlesvr.ca/apng/apngedit.html
The two files I linked to (clock-noopt.png & clock-opt.png) are samples from Justin Dolske's Animated PNG demos page. He's the guy who wrote the APNG Editor extension for Firefox. Accoding to an entry in his Mozilla Labs Blog, GIF Movie Gear was used for neither compiling nor optimizing the animation(s):
Justin Dolske ([url=http://labs.mozilla.com/2007/08/better-animations-in-firefox-3/]Better animations in Firefox 3[/url]) wrote:The first version of the clock animation resulted in a rather large file (about 450K) because each frame was a complete rendering. I wrote another script to optimize each frame by only encoding interframe differences, which knocked the size down to 79K. I could also make easy adjustments to the dimensions or frame count, by simply adjusting the script parameters and re-rendering the animation.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Fixed for restart

Post by Clo »

:arrow: Pierre

:) Hello !

• The animation restarts in 1.92 final, thanks !

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