From ce1832f14b0bdd72575de96f1221a41c2420e5d4 Mon Sep 17 00:00:00 2001 From: Mirco Miranda Date: Thu, 31 Oct 2024 20:07:10 +0000 Subject: Add PFM, PXR and SCT image formats --- data/freedesktop.org.xml.in | 34 ++++++++++++++++++++++++++++++--- tests/mime-detection/list | 4 ++++ tests/mime-detection/testcard_gray.pfm | Bin 0 -> 16401 bytes tests/mime-detection/testcard_gray.sct | Bin 0 -> 6144 bytes tests/mime-detection/testcard_rgb.pfm | Bin 0 -> 49169 bytes tests/mime-detection/testcard_rgb.pxr | Bin 0 -> 13312 bytes 6 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 tests/mime-detection/testcard_gray.pfm create mode 100644 tests/mime-detection/testcard_gray.sct create mode 100644 tests/mime-detection/testcard_rgb.pfm create mode 100644 tests/mime-detection/testcard_rgb.pxr diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index f6e3b65..6c6b1a1 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -71,7 +71,7 @@ see the file named COPYING. The latest version is available from: - http://www.freedesktop.org/wiki/Software/shared-mime-info/ + http://www.freedesktop.org/wiki/Software/shared-mime-info/ To extend this database, users and applications should create additional XML files in the 'packages' directory and run the update-mime-database @@ -1618,8 +1618,8 @@ command to generate the output files. PCAP Next Generation - - + + @@ -8921,4 +8921,32 @@ command to generate the output files. + + + Scitex CT + CT + Continuous Tone + + + + + + + + Pixar raster + + + + + + + + Portable FloatMap + + + + + + + diff --git a/tests/mime-detection/list b/tests/mime-detection/list index e720da1..832e700 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -13,6 +13,10 @@ test.bmp image/bmp test.cel image/x-kiss-cel test.dcm application/dicom test.eps image/x-eps +testcard_gray.pfm image/x-pfm +testcard_rgb.pfm image/x-pfm +testcard_rgb.pxr image/x-pxr +testcard_gray.sct image/x-sct # https://bugs.freedesktop.org/show_bug.cgi?id=55264 Oriental_tattoo_by_daftpunk22.eps image/x-eps GammaChart.exr image/x-exr diff --git a/tests/mime-detection/testcard_gray.pfm b/tests/mime-detection/testcard_gray.pfm new file mode 100644 index 0000000..9285802 Binary files /dev/null and b/tests/mime-detection/testcard_gray.pfm differ diff --git a/tests/mime-detection/testcard_gray.sct b/tests/mime-detection/testcard_gray.sct new file mode 100644 index 0000000..0469f7d Binary files /dev/null and b/tests/mime-detection/testcard_gray.sct differ diff --git a/tests/mime-detection/testcard_rgb.pfm b/tests/mime-detection/testcard_rgb.pfm new file mode 100644 index 0000000..5d62d94 Binary files /dev/null and b/tests/mime-detection/testcard_rgb.pfm differ diff --git a/tests/mime-detection/testcard_rgb.pxr b/tests/mime-detection/testcard_rgb.pxr new file mode 100644 index 0000000..2dcea80 Binary files /dev/null and b/tests/mime-detection/testcard_rgb.pxr differ -- cgit v1.2.3