New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load bitmap. #734

Open
bovender opened this Issue Dec 30, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bovender
Copy link
Owner

bovender commented Dec 30, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment