photo header decode 2