0
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

In Emgu.CV.Invoke....I am getting above error. My projects are configured with "Any CPU". I installed latest version of EMGUCV in nuget....

img = new Image<Bgr, byte>(bitmapImage);
Jasmine
  • 5,186
  • 16
  • 62
  • 114
  • You probably have some reference set for a different architecture. This answer could help you: https://stackoverflow.com/questions/18007967/net-framework-error-hresult-0x8007000b?answertab=active#tab-top – Baro Feb 12 '19 at 10:49
  • @Baro:I know that. My issue is, How I can get EMGU CV to get working for compression – Jasmine Feb 12 '19 at 10:51
  • Here you can find some possible solutions: https://stackoverflow.com/questions/17274372/the-type-initializer-for-emgu-cv-cvinvoke-threw-an-exception I can't try nothing now, my only support is some researches. – Baro Feb 12 '19 at 11:11

0 Answers0