floodfill bug
Brought to you by:
cknudsen
vers: Ilib-1.1.9
file: lib/IFlood.c
at line 67, the 'in_line' condition checks also the image border, but then check is against imagep->height!, and the algorithm fails.
To fix the bug, apply
diff lib/IFlood.c lib/IFlood.c~
67c67
< in_line = ( fillR >= imagep->width ) ? 0 : _IColorsMatch ( color, origColor );
---
> in_line = ( fillR >= imagep->height ) ? 0 : _IColorsMatch ( color, origColor );