Page 1 of 1

Drawing engine shows tiles on big images

Posted: Wed May 15, 2013 8:54 am
by m.Th.
Take a landscape image @ 22 MPix (for ex. photos from Canon 5D2 or, better, 5DMk3) and display them in Full Screen (by pressing F11). Actually I have the Full Screen mode set up on the 2ndary monitor but I don't think that matters. Display them at 100% and after that at 'zoom to fit'. In both cases (either 100% zoom or zoom to fit), lines in background color appear over the photo giving a tiling effect.

Something like this:
Drawing bug
Drawing bug
Capture.jpg (249.24 KiB) Viewed 3225 times
Note: if you cannot see the image, you can download it from here: http://we.tl/Y3AKul1kbe

The phenomenon is tested both in Full Screen mode and in the Preview pane (undocked and enlarged accordingly) with RAW files from Canon 5D Mk3 and Nikon D800, PSD and JPG files. ISTM that it has something to do with image dimensions because for the small images does not appear and for the bigger ones (eg. Nikon D800's images) the lines are thinner. It seems that the phenomenon doesn't appear when the files are in portrait orientation. Most probably (even if I don't know for sure) the drawing engine has a tiled (parallel / multi-threaded?) architecture but there is a misalignment bug when the resulting image is blitted (composed) again.


HTH,

Re: Drawing engine shows tiles on big images

Posted: Wed May 15, 2013 11:54 am
by oops66
Hello,
Which MP version? which OS ?

Re: Drawing engine shows tiles on big images

Posted: Wed May 15, 2013 3:24 pm
by m.Th.
oops66 wrote:Hello,
Which MP version? which OS ?
Oh, sorry! :)

XnViewMP - Version 0.53 (Dec 18 2012)
Windows 7 Enterprise x64 (no SP1) - version no: 6.1.7600
Graphic subsystem: ATI/AMD Radeon HD6750 (5GB Graphic Memory) with two monitors attached. 1st: 1920 x 1200, 2nd: 2560 x 1440 - both @ 32bit color. The driver is the latest(?) Catalyst pack (ie. the AMD's driver, not the original one from Microsoft which ships with Windows).

HTH

PS: I'm at your disposition to test an early internal alpha if you'd like.

Re: Drawing engine shows tiles on big images

Posted: Sat May 18, 2013 8:33 am
by m.Th.
Update:

The artifacts appear NOT when the big image is zoomed at 100% (by pressing * ) but when it is zoomed at 133% (the 'Real size' zoom option - Ctrl+/ ). Sorry for confusion.

Re: Drawing engine shows tiles on big images

Posted: Sat May 18, 2013 6:15 pm
by JohnFredC
This is a long-standing issue in XnView. Here is my most recent post concerning the bug. It contains a link to an even earlier bug report about the same behavior.

As an encouraging sign, the latest version of XnView Classic (v2.0) seems to behave correctly.

Re: Drawing engine shows tiles on big images

Posted: Sun May 19, 2013 11:07 am
by oops66
Hello,
FYI: I also sometimes have this bug under XnViewMP 0.51 Linux (full screen mode only right now). It probably depends of the software screen resolution & the W&H image size/ratio ?.

See here for more information:
http://newsgroup.xnview.com/viewtopic.p ... 57#p111257

Edit:
Seems to be fixed here with the XnViewMP 0.56 Linux X64 version