a small c library to do some 2d sprite processing