Skip to main content

Trouble loading saved bmp file using spinnaker SDK

Comments

1 comment

  • Official comment
    TDY_Demos
    Community team
    Expert (Gold)

    Hello Mohit,

    To load an image back into a Spinnaker image, you can find some example C++ and C# code in our github repo at Spinnaker-Examples/RawToProcessed at main · Teledyne-MV/Spinnaker-Examples (github.com)

    That being said, this is to load saved raw images back into a spinnaker image structure.  Loading a bitmap into a spinnaker structure is not something we support, since the spinnaker image structure is used for raw data before converting to save the bitmap.

    If you have bitmaps that you want to display in a window, I expect you could do this outside of the spinnaker API, using standard calls to load a bitmap and display it in an MFC window, unrelated to the spinnaker objects.

    Otherwise, i would recommend you save the spinnaker images as raw in your code, and then read them back in afterwards using the examples in our github repo above.

    I hope that helps.

    Thank you,

    Demos

Please sign in to leave a comment.

Powered by Zendesk