From 44df0c85c4db21cde6b56f65e139c20208d48689 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 11 Oct 2025 13:43:00 +0530 Subject: [PATCH] Mark the netPBM image types as decodable --- tools/utils/images/formats.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/utils/images/formats.go b/tools/utils/images/formats.go index 24810646d..2df70f375 100644 --- a/tools/utils/images/formats.go +++ b/tools/utils/images/formats.go @@ -19,6 +19,11 @@ var _ = fmt.Print var DecodableImageTypes = map[string]bool{ "image/jpeg": true, "image/png": true, "image/bmp": true, "image/tiff": true, "image/webp": true, "image/gif": true, + "image/x-portable-anymap": true, + "image/x-portable-bitmap": true, + "image/x-portable-graymap": true, + "image/x-portable-pixmap": true, + "image/x-portable-arbitrarymap": true, } var EncodableImageTypes = map[string]bool{