Bug in WDP thumbnails

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Bug in WDP thumbnails

Post by foxyshadis »

The wdp thumbnails show up as garbage of some sort. It's not totally random, in the uninitialized memory sense, because several copies of an image have the same look and it's vaguely recognizable. Still garbage though.

Example image

You can open it in xnview and save it to another format to see what the thumbs should look like.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Nice here

Post by Clo »

:) Hi !

• Your sample looks so normal here as a thumb nail, despite I use very small thumb nails (exactly the size shown below) :

    Image

• I guess it could look better with a larger thumb nail size, though.

• Same when saved as PNG…

: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: foxyshadis

Your sample looks normal here as a thumb nail but only if Options >> Thumbnails >> Use high quality is not active !
If I activate High quality for thumbnails : and rebuild thumbnails your sample is showed as garbage !

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

Re: Bug in WDP thumbnails

Post by xnview »

foxyshadis wrote:The wdp thumbnails show up as garbage of some sort. It's not totally random, in the uninitialized memory sense, because several copies of an image have the same look and it's vaguely recognizable. Still garbage though.

Example image

You can open it in xnview and save it to another format to see what the thumbs should look like.
Ok, i'll check
Pierre.
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

ouistiti wrote::arrow: foxyshadis

Your sample looks normal here as a thumb nail but only if Options >> Thumbnails >> Use high quality is not active !
If I activate High quality for thumbnails : and rebuild thumbnails your sample is showed as garbage !

Friendly

Paul
Thanks for clarifying. After I saw Clo's comment I was trying different options to make it work, but I never tried that one. :p
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

The left thumbnail was made with the old version (v1.90 beta 3) of Xwmp.dll, the right one with v1.90.4:
  • Image
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Hidden version?

Post by Clo »

—> XnTriq

:) Hello Mr. Librarian!
…the right one with v1.90.4: …
• OMG ! You secretive thing !
- Where is this fabulous new version ? Image

• Anyway : Happy Easter!

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

Can confirm thumbnails are fixed for 8-bit images. 16-bit have no thumbs, and crash on opening, example image. Also, the dimensions are misreported now. I'm pretty sure it's using the DC coefficient speedup trick, which is cool, but the dimensions are now reported as 1/8 of their actual values.

Not major issues, I don't even know how much support xnview is supposed to have for 16-bit images at all.

Now that Vista's making its big splash, I wonder how the format is doing. It seems to have some recognition on forums, but no photo site lets you upload it yet. :p
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

16-b per channel ?

Post by Clo »

—> foxyshadis

:) Hello !

• I can confirm, your new test image is not displayed at all, neither in “View” or as a thumb nail…

• Here, the Preview displays hexa :?
…Not major issues, I don't even know how much support xnview is supposed to have for 16-bit images at all. …
• IIRC, XnView doesn't support 16-bit per channel images (yet ?)…Image

: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: Hidden version?

Post by XnTriq »

Clo wrote:• Anyway : Happy Easter!
:) Happy Easter (or whatever's left of it) to you too, Clo!
Clo wrote:
…the right one with v1.90.4: …
• OMG ! You secretive thing !
- Where is this fabulous new version ? Image
That's no typo, that's what it says in the DLL's file properties:
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Let's be precise

Post by Clo »

—> XnTriq

:) Hello!

• You are talking of 1.90 beta 4, but you wrote 1.90.4, that indeed it not the same !

- There a mistake from Pierre (?) about the sub-version, I guess.
- The version number shown in the properties sheet is 1.90.0.0, that doesn't match :P

• For short, generally I use the German “ß” character for “beta” because it looks ~ the same than the Greek letter… ;)
- So, it's not confusing…

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

Post by Guest »

the second example is not viewable in v1.9.1 ?

another thing how to convert from png, jpg to wdp in XnView?
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

It isn't possible to do that in XnView (yet?), only an input plugin exists. XnView doesn't support photoshop input/output plugins, although that would be a pretty cool wrapper plugin. =D
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

:D Good to see you posting again, foxyshadis! For a while I though we had lost you.
foxyshadis wrote:It isn't possible to do that in XnView (yet?), only an input plugin exists.
You can save to WMP/HD Photo format with the newer version. But you have to do a little tinkering first:
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=48853#48853]Addons/Plugins/...[/url]) wrote:
xnview wrote:
Anonymous wrote:still i cant use the hd photo plugin to write the files.. please help..?
In your xnview.ini, try to remove the [plugins] section
Deleting the following line from the [plugins] section of xnview.ini did the trick on my installation:

Code: Select all

23=Xwmp.dll|262|wmp|WMP|wdp;hdp;
Obviously it was left behind by an earlier version of xwmp.dll. The next time I started XnView, version v1.90.4 of the plugin created a new entry:

Code: Select all

23=Xwmp.dll|772|wmp|HD Photo|wdp;hdp;
foxyshadis wrote:XnView doesn't support photoshop input/output plugins, although that would be a pretty cool wrapper plugin. =D
You're referring to the beta release of Microsoft's HD Photo Plug-in for Photoshop (HDPhoto.8bi), right? I'd be surprised if there's a way to make it work with XnView. Even my old version (6.0.1) of Photoshop didn't like it: “Unable to find an entry point named GetModuleHandleExA in DLL Kernel32.dll.”
Post Reply