optimized picture capturing