extfs-pdf: add a file extension for FlateDecode

It is recognised by shared-mime-info.
This commit is contained in:
Přemysl Eric Janouch 2024-02-04 05:28:47 +01:00
parent 32e9acfa77
commit a8dc72349b
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
//
// Copyright (c) 2021, Přemysl Eric Janouch <p@janouch.name>
// Copyright (c) 2021 - 2024, Přemysl Eric Janouch <p@janouch.name>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted.
@ -46,6 +46,8 @@ func streamSuffix(o *pdf.Object) string {
return "jp2"
case "DCTDecode":
return "jpg"
case "FlateDecode":
return "zz"
default:
return filter.String
}