Add --number-offset and --default-image-extension options.
Bump version number to 2.4.0