Configurable captch image generator