Working (fallback) bitmap code