Image resizing crash

Just thought someone might find this helpful, and maybe a Windows dev might be interested:

I’ve got an i5-6400 with 16gb running win10 and Krypton 17.0, using Intel HD graphics output to a 1920×1080 TV. I’ve got a ton of image files on a local drive, using the picture slideshow screensaver. Some of the image files are 1920×1080, and some are a whole lot larger – I figure I’ll upgrade to 4K soon, and maybe something even better some day, so why not.

Since 17.0, when the screensaver picks a very large image and tries to resize it down to 1920×1080, it crashes. The screensaver will freeze on the last successfully loaded image, and then when I go use Kodi again, it will crash while trying to reload the skin (Mimic).

WORKAROUND: using another program to batch resize all large images down to 3840×2160 resolves the problem.

Here’s a sample chunk of log. The first two images it picks are 1920×1080 and work fine. The third is a very large image.

21:59:09.864 T:6580 DEBUG: CImageLoader::DoWork – took 220 ms to load T:\New York.jpg
21:59:33.939 T:6580 DEBUG: CImageLoader::DoWork – took 261 ms to load T:\Hawaii.jpg
21:59:46.146 T:6580 DEBUG: CImageLoader::DoWork – took 452 ms to load T:\Spain.jpg
21:59:46.265 T:1372 ERROR: CD3DTexture::Create – failed to create texture.
21:59:46.265 T:1372 DEBUG: CDXTexture::CDXTexture: Error creating new texture for size 7952 x 4473.
21:59:46.265 T:1372 ERROR: CGUIFontTTFDX::CreateVertexBuffer – Failed to create vertex buffer.
21:59:46.266 T:1372 ERROR: Previous line repeats 1 times.
21:59:46.266 T:1372 ERROR: CRenderSystemDX::FinishCommandList – Failed to finish command queue.
21:59:46.267 T:1372 DEBUG: CRenderSystemDX::PresentRenderImpl – device removed
21:59:46.269 T:1372 ERROR: DXGI_ERROR_DEVICE_REMOVED
21:59:46.270 T:1372 DEBUG: CWinSystemWin32::OnDisplayLost – notify display lost event
21:59:46.502 T:1372 DEBUG: HookOpenAdapter10_2: hook into pOpenData->pAdapterFuncs->pfnCreateDevice
21:59:46.505 T:1372 DEBUG: HookCreateDevice: hook into pCreateData->pDeviceFuncs->pfnCreateResource
21:59:46.506 T:1372 DEBUG: CRenderSystemDX::CreateDevice – on adapter Intel® HD Graphics 530 (VendorId: 0x8086 DeviceId: 0x1912) with feature level 0xb100.