Take into account PhotometricInterpretation value
Merge pull request #28 from jap1968/master

Some changes to take into account PhotometricInterpretation