Image conversation error- app_missing_img.png
See original GitHub issue2022-10-05.txt Flow Launcher version: 1.9.5 OS Version: Microsoft Windows NT 10.0.19044.0 IntPtr Length: 8 x64: True
Python Path: Date: 10/05/2022 14:57:15 Exception: System.TypeInitializationException: The type initializer for ‘Flow.Launcher.Infrastructure.Image.ImageLoader’ threw an exception. —> System.OverflowException: The image data generated an overflow during processing. —> System.ArithmeticException: Overflow or underflow in the arithmetic operation. — End of inner exception stack trace — at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation() at System.Windows.Media.Imaging.ColorConvertedBitmap…ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format) at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation() at System.Windows.Media.Imaging.BitmapImage.EndInit() at System.Windows.Media.Imaging.BitmapImage…ctor(Uri uriSource, RequestCachePolicy uriCachePolicy) at System.Windows.Media.Imaging.BitmapImage…ctor(Uri uriSource) at Flow.Launcher.Infrastructure.Image.ImageLoader…cctor() in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Image\ImageLoader.cs:line 21 — End of inner exception stack trace — at Flow.Launcher.Infrastructure.Image.ImageLoader.Initialize() in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Image\ImageLoader.cs:line 37 at Flow.Launcher.App.<OnStartupAsync>b__14_0() in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 59 at Flow.Launcher.Infrastructure.Stopwatch.NormalAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 58 at Flow.Launcher.App.OnStartupAsync(Object sender, StartupEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 50 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Issue Analytics
- State:
- Created a year ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
ok. I referred to the following document on this matter. https://github.com/dotnet/wpf/issues/3884
This problem may occur when the color profile of the user is virtual and the color profile information is contained in the png.
@BlueDrink9 Please let me know what is your window version / color profile.
and then, Please let me know if there is any problem when you replace it with the attached image.
This is new image (removed color profile info) https://github.com/Flow-Launcher/Flow.Launcher/blob/2c87dd448124df56a2fd44393775338b9228be79/Flow.Launcher/Images/app_missing_img.png
If there is no problem, I will replace it with this image.
Fix available in prerelease.