GR32_Filters.pas provides some basic functions for operating over bitmap data.