samplesPerPixel and photometric fields

Added samplesPerPixel and photometric fields that are required to be set on an master imageFile for jp2 generation.