- Removed redundant enums from ImageTypes.
+ Added ImageOrigin enum to be able to order the direction of the image data.
- Split MakeImage into Read functions for each part of the spec.
- Simplified BitsToBytes so it avoids an if. The bits + 7 will ensure that the division rounds up if bits isn't a multiple of 8.
- Changed UCharArrayToIntLE to use bitwise or instead of addition, to ensure negative values can be read properly.