--- JPEG image format and common filename aliases
-- @module format.jpeg

local format = require("core.format")

format.register({
	name = "JPEG",
	shortname = "JPEG",
	kind = "image",
	image_extension = "jpg",
	extensions = { "jpg", "jpeg", "jfif", "pjp", "pjpeg" },
	headers = { "^\255\216\255" }, -- Pattern breakdown: the three JPEG opening bytes must start the file
})
