Is there a image-format that support an array per pixel?
OpenEXR might be a good fit. You can have an arbitrary number of channels per pixel and the data types for each channel can be integers.

http://www.openexr.com/