The channel constructor should take the parameters from the method allocate, so that allocate can be removed
Issue #141
new
The channel used for encoding/decoding the images should take the parameters for the channel creation in its constructor, not in the method allocate: allocate should then be removed.
This implies modifications also to jpegChannel and the jpeg codec