Include internal.h and imgconvert.h, they contain the prototypes for the