Page 1 of 1

Unreliable panoramic image detection

Posted: Fri Oct 25, 2019 5:24 pm
by Grelofgarta
Hi,

i have automatic panoramic image detection enabled with aspect ratio of 2.0 for both landscape and portrait images. I then display panoramic images spanned across multiple monitors.
Sometimes the panoramic image detection seems to fail which causes a panoramic image to be resized and displayed on one monitor only. Logs:

25-10-2019 18:17:17 : LoadNewImage: Monitor 0 Loading file C:\Users\...\Image.jpg
25-10-2019 18:17:17 : VideoRestoreAudio 1
25-10-2019 18:17:17 : GDI+ Loading Time: 0.00
25-10-2019 18:17:17 : ReadExifData: time= 0ms
25-10-2019 18:17:17 : ResizeBmp_gdiplus: Old Size=3840,1080 New Size=1920,1200 Stretch=1
25-10-2019 18:17:17 : ResizeBmp_gdiplus: Size Adjusted: (1920,540)
25-10-2019 18:17:17 : Total Processing Time: 0.17

Othertimes it works though.

25-10-2019 18:25:21 : LoadNewImage: Monitor 0 Loading file C:\Users\...\Image.jpg
25-10-2019 18:25:21 : VideoRestoreAudio 1
25-10-2019 18:25:21 : GDI+ Loading Time: 0.00
25-10-2019 18:25:21 : ReadExifData: time= 0ms
25-10-2019 18:25:21 : IsPanoFile: H 3840 1080 - 1920 1200
25-10-2019 18:25:21 : ResizeBmp_gdiplus: Old Size=3840,1080 New Size=3840,1200 Stretch=1
25-10-2019 18:25:21 : ResizeBmp_gdiplus: Image Cropped left-right 96 px (3456,1080)
25-10-2019 18:25:22 : Total Processing Time: 0.44

Re: Unreliable panoramic image detection

Posted: Mon Oct 28, 2019 9:44 am
by gpb
Hello,
automatic detection of panoramic images is performed with a simple check on image size, if image size is read correctly it is very unlikely this check fails.
Did you notice if the check fails always with the same image ?
Check if there is any file with .gprop extension is present in the folder with the failing images.

Re: Unreliable panoramic image detection

Posted: Fri Nov 01, 2019 12:13 am
by Grelofgarta
Check fails with different images non deterministically. No .gprop file used or present. I will keep an eye on this and write if i have more specific information.

Re: Unreliable panoramic image detection

Posted: Sat Nov 02, 2019 5:46 pm
by Grelofgarta
OK i have done further analysis. The problem appears when multiple panoramic images are displayed directly after each other. After displaying a panoramic image spanned on multiple monitors it switches back to displaying individual images on each monitor where one monitor gets a new image and all other monitors get the image that was displayed before the panoramic image came. but when the previous image also was panoramic it gets shrinked to a single monitor.

The problem where the slideshow reverses back to an image that was displayed a couple of seconds ago, was already reported by me in this thread: viewtopic.php?f=9&t=9577 under 1).

Re: Unreliable panoramic image detection

Posted: Thu Nov 07, 2019 6:49 pm
by gpb
Thanks for analysis, I think I found the problem. During next days I will release an update