Function convertImages

  • The function converts images in a source directory to a specified format and compresses them, while also copying non-image files to a destination directory.

    Parameters

    Returns Promise<void>