optimized screenshot