Function getImageFormatsInFolder

  • this function returns an array of image formats in a given folder

    Parameters

    • folderPath: string

      The folder to search for images in

    Returns InputFormats[]

    An array of image formats