love.graphics.getImageFormats
Gets the raw and compressed pixel formats usable for Images, and whether each is supported.
formats = love.graphics.getImageFormats()
formats table A table containing PixelFormats as keys, and a boolean indicating whether the format is supported as values. Not all systems support all formats.