- Moved generic functions to libtools.
+ Added PixelFormat enums.