ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

Can not open avif image that bigger than 32768*32768

Open LyntNy4n opened this issue 3 years ago • 1 comments

System information:

  • Windows OS version: win11
  • ImageGlass version: 8.5.1.22 and 9 beta1

Screenshots:

Snipaste_2022-05-25_20-30-51

But png and jpg don't have this issue.

LyntNy4n avatar May 25 '22 12:05 LyntNy4n

Images can be vectors for malicious actors. One way to attack a system is via resource exhaustion from decompression bombs. As a result the ImageMagick library has some defaults in regards to how many resources it allocates to decode images. This has an unfortunate side-effect of blocking some legitimate images. This policy can be overwritten but I don't know enough about the .NET bindings to say whether ImageGlass needs new code to load an alternative policy.

Sxderp avatar Jun 03 '22 15:06 Sxderp

Probably I will just close this. IG just uses the default policy of MagickNET

d2phap avatar Dec 28 '23 11:12 d2phap