I recently found myself in the situation of wanting to implement a 3rd party sdk as part of the imagepack workflow with the cvimagelink datatype...
On the imagepack github it says to look for specific examples to see how to use the cvimagelink properly, but tbh I couldnt figure it out from looking at that sourcecode :\
I do get it to work, but it feels a little cumbersome...
In most 3rd party sdk examples that I've looked at, there will be a helper function to convert a bitmap each frame to a raw byte array, which then gets processed by the sdk's own functions. What would be the best way to deal with that kind of situation in the imagepack?
Take the bitmap of the frontbuffer and convert it to a byte array? Does it even make sense to only get the frontbuffer?
Is there a more streamlined solution?