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. #734

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 142
   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 104
   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 XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 48
   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 6.2.9200.0, 64-bit
Excel 2013 (15.0.4420), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.31129
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b065c99d34b3f8ebf29ebe6d30b2cddb21fe5ce63a834c5e5e3e78d851c3b39b
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 142
   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 104
   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 XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 48
   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 6.1.7601 Service Pack 1, 64-bit
Excel 2010 SP2 (14.0.7015), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.40305
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b065c99d34b3f8ebf29ebe6d30b2cddb21fe5ce63a834c5e5e3e78d851c3b39b
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 142
   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 104
   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 XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 48
   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 6.2.9200.0, 64-bit
Excel 2013 (15.0.4420), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.31129
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b065c99d34b3f8ebf29ebe6d30b2cddb21fe5ce63a834c5e5e3e78d851c3b39b
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 142
   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 104
   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 XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 48
   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 6.2.9200.0, 64-bit
Excel 2007 (12.0.4518), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime (n/a)
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b065c99d34b3f8ebf29ebe6d30b2cddb21fe5ce63a834c5e5e3e78d851c3b39b
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 142
   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 104
   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 XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.<get_ExportSelectionCommand>b__1_0(Object param) in X:\Code\xltoolbox\NG\XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 48
   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 6.2.9200.0, 64-bit
Excel 2013 (15.0.4420), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.31129
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier b065c99d34b3f8ebf29ebe6d30b2cddb21fe5ce63a834c5e5e3e78d851c3b39b