Extract code from screenshots