As was pointed out in #214 , there doesn't seem to be any reason to return an unsupported error if samples isn't 1, 2, or 4.
This PR doesn't modify the behavior of Decoder::colortype. It will still return an error of type UnsupportedError(InterpretationWithBits(..)) on such images. Matching on the error should expose the BitsPerSample and SamplesPerPixel values, though we should probably add a better way to access that information
As was pointed out in #214 , there doesn't seem to be any reason to return an unsupported error if samples isn't 1, 2, or 4.
This PR doesn't modify the behavior of
Decoder::colortype
. It will still return an error of typeUnsupportedError(InterpretationWithBits(..))
on such images. Matching on the error should expose the BitsPerSample and SamplesPerPixel values, though we should probably add a better way to access that information