techyian / MMALSharp

C# wrapper to Broadcom's MMAL with an API to the Raspberry Pi camera.
MIT License
195 stars 33 forks source link

Strip Bayer filter data from frame #59

Closed techyian closed 5 years ago

techyian commented 6 years ago

Provide the ability to strip the Bayer filter data from JPEG metadata.

For reference: Pi forums Bayer info

Bayer data can be found in the last 6404096 bytes (last 10,270,208 bytes for the V2 module) of the full image frame and is tagged on as EXIF metadata. The header is 32768 bytes in length, starting with the string "BRCM".