Unreliable panoramic image detection

Post your questions, bug reports and feature requests here
Post Reply
Grelofgarta
Posts: 10
Joined: Sun Feb 24, 2019 3:14 pm

Unreliable panoramic image detection

Post 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
User avatar
gpb
Site Admin
Posts: 761
Joined: Mon Dec 19, 2011 1:23 am

Re: Unreliable panoramic image detection

Post 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.
Gianpaolo Bottin
gPhotoShow.com
Grelofgarta
Posts: 10
Joined: Sun Feb 24, 2019 3:14 pm

Re: Unreliable panoramic image detection

Post 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.
Grelofgarta
Posts: 10
Joined: Sun Feb 24, 2019 3:14 pm

Re: Unreliable panoramic image detection

Post 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).
User avatar
gpb
Site Admin
Posts: 761
Joined: Mon Dec 19, 2011 1:23 am

Re: Unreliable panoramic image detection

Post by gpb »

Thanks for analysis, I think I found the problem. During next days I will release an update
Gianpaolo Bottin
gPhotoShow.com
Post Reply