I'm trying to find any help on how to make my own picture codec.

Any help or pointers is appreciated.