ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

ImageGlass cannot load 16K JXL images

Open mtp-lac opened this issue 4 months ago • 5 comments

Windows OS version

Windows 11 25H2

ImageGlass version

v9.5.0.515

ImageGlass release

Classic

1️⃣ Steps to reproduce

Opening a very high resolution JXL file (16K 16:9)

2️⃣ Actual behavior

Could not open this image

ImageGlass 2026 v9.5.0.515 (64-bit, .NET 10.0.8)
Magick.NET Q16-HDRI-OpenMP x64 net8.0 14.13.0

❗ Error details:
DirectNStandard: The component initialization has failed.

at DirectN.HRESULT.ThrowOnErrorExcept(IEnumerable'1 exceptedValues, Boolean throwOnError)
at DirectN.IWICImagingFactoryExtensions.CreateDecoderFromFilename(IWIClmagingFactory factory, String fileName, Nullable'1 guidVendor, FileAccess desiredAccess, WICDecodeOptions metadataOptions)
Image

3️⃣ Expected behavior

Image loads normally

4️⃣ Screenshots / Video / Sample image file

https://file.kiwi/d4178ac2#cw-GLrOy_8fzZRpXZ94DIQ

5️⃣ Additional context

I work with high resolution images often for my upscaling models and was trying jxl for space saving, accidentally discovered this

mtp-lac avatar Jul 29 '26 09:07 mtp-lac

It's fixed in ImageGlass 9.6

d2phap avatar Jul 31 '26 08:07 d2phap

It's fixed in ImageGlass 9.6

It is not fixed. Please reopen the issue Image

mtp-lac avatar Jul 31 '26 11:07 mtp-lac

Hmm, I could open it in my PC though.

Image

Can you try ImageGlass 10 RC if it can open the file?

d2phap avatar Jul 31 '26 11:07 d2phap

ImageGlass 10 did work yes. It did failed for 32K images with the following error, but I guess it will low priority 😅

Image

mtp-lac avatar Jul 31 '26 14:07 mtp-lac

Thanks! In v10, only Skia codec can render huge image. Magick codec can decode it, but when converting to pixel array for rendering, the pixel array size is limited by the size of .NET integer 2^32-1.

d2phap avatar Jul 31 '26 15:07 d2phap