Oh right, I assume it's the windows API for creating images that is crapping out. There's nothing I can do about it.
If this C++ fails, you get null returned.
IJSImage* ImageHelpers::create(uint32_t width, uint32_t height)
{
wil::com_ptr_t<IWICBitmap> bitmap;
if FAILED(g_imaging_factory->CreateBitmap(width, height, GUID_WICPixelFormat32bppPBGRA, WICBitmapCacheOnDemand, &bitmap)) return nullptr;
return new ComObject<JSImage>(bitmap);
}
edit: this is the failure message...
Arithmetic result exceeded 32 bits. (0x80070216)
I can probably improve behaviour by making it reduce the number of images used automatically but again this means all content will not be displayed. But it's better to have a valid thumbnail strip than nothing.
Thumbs,before,when 'thumbs.size.limit' was 67108864 (64MB), it showed up to 219 images, and when I set it to 134217728 (128MB), it showed more.
Now, even with 75px,134217728(128MB), it is down to 110 images.
Number of pictures does not change even if the folder to be displayed is changed, so it may be that the number of pictures is limited by the number of pictures rather than the size ?
JScript Panel 3 Version 3.4.4