|
|
|
|
@ -102,6 +102,7 @@ constexpr struct {
|
|
|
|
|
{"JPEG2000", "image.jp2", false, "Jpeg2000Importer"}, |
|
|
|
|
{"HDR", "rgb.hdr", false, "HdrImporter"}, |
|
|
|
|
{"HDR data", "rgb.hdr", true, "HdrImporter"}, |
|
|
|
|
{"HDR data, different signature", "rgb.2.hdr", true, "HdrImporter"}, |
|
|
|
|
{"ICO", "pngs.ico", false, "IcoImporter"}, |
|
|
|
|
{"DDS", "rgba_dxt1.dds", false, "DdsImporter"}, |
|
|
|
|
{"DDS data", "rgba_dxt1.dds", true, "DdsImporter"}, |
|
|
|
|
@ -159,6 +160,7 @@ const struct {
|
|
|
|
|
{"just one byte", "\x33"_s, "33"}, |
|
|
|
|
{"just one zero byte", "\x00"_s, "00"}, |
|
|
|
|
{"DDS, but no space", "DDS!"_s, "44445321"}, |
|
|
|
|
{"HDR, but without the trailing newline", "#?RADIANCE."_s, "233f5241"}, |
|
|
|
|
{"TIFF, but too short", "II\x2a"_s, "49492a"}, |
|
|
|
|
{"TIFF, but no zero byte", "MM\xff\x2a"_s, "4d4dff2a"}, |
|
|
|
|
{"KTX, but wrong version", "\xabKTX 30\xbb\r\n\x1a\n"_s, "ab4b5458"}, |
|
|
|
|
|