blEncodeAndDecode — Simple functions to encode and decode images in memory using OpenCV without having to save/read to disk

This entry is part 16 of 17 in the series blImageAPI -- BarbatoLabs Image API

Introduction I have seen many of these questions pop up everywhere on the web, like this question. But as it turns out, there are two very easy to use functions in opencv that allow us to encode/decode to/from several formats such as jpeg, png, pxm and many more. In…

Continue reading