ArrayBuffer compress bitmap sample data