bovender / XLToolbox

Daniel's XL Toolbox is an open-source add-in for Excel(R) that assists with scientific and technical data analysis and visualization.
https://www.xltoolbox.net
Apache License 2.0
54 stars 10 forks source link

Unable to load bitmap. #818

Open bovender opened 5 years ago

bovender commented 5 years ago

Another report

This issue was submitted by the add-in's exception handler.

Exception:

System.Exception: Unable to load bitmap.
   at FreeImageAPI.FreeImageBitmap.LoadFromStream(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 4241
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 483
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 425
   at XLToolbox.Export.ScreenshotExporter.CreateFreeImageDirectly() in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 143
   at XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 71
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 106
   at Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 67
   at Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:line 104
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:line 37
   at Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:line 48
   at XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 263
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 62
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 84
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:line 121

Message: Unable to load bitmap.

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18363.0, 64-bit
Excel 365 (16.0.12527), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 46d2afebdd21c0fe764b2540461c3778e03accb88f85640dc3ad872b7c41b35e
bovender commented 4 years ago

Another report

This issue was submitted by the add-in's exception handler.

Exception:

System.Exception: Unable to load bitmap.
   at FreeImageAPI.FreeImageBitmap.LoadFromStream(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 4241
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 483
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 425
   at XLToolbox.Export.ScreenshotExporter.CreateFreeImageDirectly() in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 143
   at XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 71
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 106
   at Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 67
   at Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:line 104
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:line 37
   at Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:line 48
   at XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 263
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 62
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 84
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:line 121

Message: Unable to load bitmap.

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18362.0, 64-bit
Excel 365 (16.0.12130), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 46d2afebdd21c0fe764b2540461c3778e03accb88f85640dc3ad872b7c41b35e
bovender commented 4 years ago

Another report

This issue was submitted by the add-in's exception handler.

Exception:

System.Exception: Unable to load bitmap.
   at FreeImageAPI.FreeImageBitmap.LoadFromStream(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 4241
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 483
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 425
   at XLToolbox.Export.ScreenshotExporter.CreateFreeImageDirectly() in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 143
   at XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 71
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 106
   at Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 67
   at Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:line 104
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:line 37
   at Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:line 48
   at XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 263
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 62
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 84
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:line 121

Message: Unable to load bitmap.

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18363.0, 64-bit
Excel 365 (16.0.12430), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 46d2afebdd21c0fe764b2540461c3778e03accb88f85640dc3ad872b7c41b35e
bovender commented 4 years ago

Another report

This issue was submitted by the add-in's exception handler.

Exception:

System.Exception: Unable to load bitmap.
   at FreeImageAPI.FreeImageBitmap.LoadFromStream(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 4241
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 483
   at FreeImageAPI.FreeImageBitmap..ctor(Stream stream) in FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\FreeImageBitmap.cs:line 425
   at XLToolbox.Export.ScreenshotExporter.CreateFreeImageDirectly() in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 143
   at XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in X:\Code\xltoolbox\NG\XLToolbox\Export\ScreenshotExporter.cs:line 71
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 106
   at Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass3_0.<Send>b__0() in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 67
   at Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\FileDialogActionBase.cs:line 104
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter) in X:\Code\bovender\Bovender\Mvvm\Actions\NonUiTrigger.cs:line 37
   at Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs) in X:\Code\bovender\Bovender\Mvvm\Actions\MessageActionExtensions.cs:line 48
   at XLToolbox.Dispatcher.<>c.<ExportScreenshot>b__9_0(Object sender, MessageArgs`1 args) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 263
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond) in X:\Code\bovender\Bovender\Mvvm\Messaging\Message.cs:line 62
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 84
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:line 121

Message: Unable to load bitmap.

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18363.0, 64-bit
Excel 365 (16.0.12527), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60828
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier 46d2afebdd21c0fe764b2540461c3778e03accb88f85640dc3ad872b7c41b35e