Add bitmap scaling and logging to DrawingAnalyzer