Added bitmap converter for debugging