(some) photos show up as black square in Aspect

Observed behavior

I imported quite a few photos into Aspect.
Strangely, some photos are not shown but only displayed as a black square photo. same, when I click on the photo, it’s displayed completely black. When I do right-click onto the picture and click onto “show in explorer” I can view the picture in the Windows File explorer and with the standard Windows Picture Viewer just fine.

It affects pictures from different sources/cameras.

Regenerating Previews, or Regenerating Metadata Cash, did not solve this.

Expected behavior

The photo should be displayed correctly

Steps required to reproduce

I’ll try to attach an affected photo here.

Operating system/Hardware used

Thinkpad X1 Carbon 9th Gen. Windows 11 all updates and drivers installed.
Aspect Version 1.0.0-rc.43

Enclosed how the photo shows up in Aspect. (sorry for multiple post, I can only add one photo for each post.)

One more affected photo (original file)

I hope the file does not get manipulated by uploading it here.

I think the forum may have converted/scaled the image automatically, so that the resulting photo doesn’t have the same issue – at least both show up fine within Aspect for me. Can you try to zip one of the two and then attach the zip file instead?

Thank you for locking into this!

Sure, here it is. Unfortunately only one pic, since the other one is bigger than 10 MB

Also, I just installed Aspect on my Ubuntu as well (its a dual boot) and opened my library from there. Same, photos are still showing up as black.

PXL_20241213_101151586.PORTRAIT.ORIGINAL.zip (833.7 KB)

Unfortunately now back on Windows the program gives me an error that the cache can not be loaded - is it not possible to accesses the same library from a different OS?

Okay, the issue was caused by the structure of the file interacting badly with an optimization we do for files that contain all of their metadata within the first few kilobytes of the file. The next version will contain a fix for this.

1 Like

Oh wow! You guys are amazing fast!

Having an example image that reproduces the issue really was the key here, so thanks for providing that!

1 Like