ImageGlass
ImageGlass copied to clipboard
Can't open bmp file created by Ctrl + V
System information
- Windows OS version: Win 11 24H2 26100.4061
- ImageGlass version: ImageGlass 9.3.1.518
- ImageGlass release: Classic
To Reproduce
Steps to reproduce the behavior:
- Use the screenshot tool built into Windows to take a screenshot. It will automatically put the picture into the clipboard.
- Go back to the desktop and press Ctrl + V, which will create a BMP format image file on the desktop.
- Open this file by ImageGlass.
Actual behavior
Magick.NET-Q16-HDRI-OpenMP-x64: improper image header 'C:\Users\yym\Desktop\2025517134434.bmp' @ error/bmp.c/ReadBMPlmage/713
at ImageMagick.MagicklmageCollection.NativeMagicklmageCollection.ReadFile(IMagickSettings`1 settings) in /_/src/Magick.NET/Generated/Magick.NET.SourceGenerator/ImageMagick.SourceGenerator.NativelnteropGenerator/MagicklmageCollection.g.cs:line 657
at ImageMagick.MagicklmageCollection.Addlmages(String fileName, IMagickReadSettings`1 readSettings, Boolean ping) in /_/src/Magick.NET/MagicklmageCollction.cs:line 1827
Additional context
The pictures in this compressed package cannot be opened. 2025517134434.zip
It's the BMP file has "improper image header". You can report this issue with the sample file to https://github.com/dlemstra/Magick.NET/issues