Function SelectImageTaskDialog

  • Displays a dialog to select an image processing task.

    This function presents a menu to the user, allowing them to choose between optimizing an image, converting an image, returning to the utility menu, or quitting.

    Parameters

    • filename: string

      The name of the file being processed.

    • DIR: string

      The directory where the file is located.

    Returns Promise<void>