Add --number-offset and --default-image-extension options.