Skip to content

Commit

Permalink
Merge pull request #238 from burbschat/pdf_image_signature
Browse files Browse the repository at this point in the history
add image signature for pdf
  • Loading branch information
3rd authored Nov 2, 2024
2 parents 3ce4179 + 18d36a9 commit 5c0112c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/image/utils/magic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ local image_signatures = {
AVIF = "\x66\x74\x79\x70\x61\x76\x69\x66",
SVG = "<svg",
XML = "<?xml",
PDF = "%PDF",
}

local function read_file_header(file, num_bytes)
Expand Down

0 comments on commit 5c0112c

Please sign in to comment.