added samplesPerPixel and photometric fields.
Merge pull request #209 from nla/image-fields

samplesPerPixel and photometric fields
Removed unnecessary methods + added methods with image info params
Merged with master
Added more params to method convertFile