Improved the bitmap example.