def get_image_file_paths_in_dir(
    idp,
    base_name_only=False,
    relative_path_only=False,
    without_ext=False,
    sort_result=True,
    recursive=True,
    target_str_or_list=None,
):
    """Return the paths of the images in the given directory."""
    return get_file_paths_in_dir(
        idp,
        ext=[
            ".rgb",
            ".gif",
            ".pbm",
            ".pgm",
            ".ppm",
            ".pnm",
            ".tiff",
            ".tif",
            ".rast",
            ".xbm",
            ".jpg",
            ".jpeg",
            ".png",
            ".bmp",
            ".png",
            ".webp",
            ".exr",
            ".hdr",
            ".svg",
        ],
        target_str_or_list=target_str_or_list,
        base_name_only=base_name_only,
        relative_path_only=relative_path_only,
        without_ext=without_ext,
        sort_result=sort_result,
        recursive=recursive,
    )
Return the paths of the images in the given directory.
photogrammetry_importer/utility/os_utility.py