Export APIs
Add bmpwriter