mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Userland: Register TIFF as a supported image file type
This includes both .tiff and .tif extensions.
This commit is contained in:
parent
67c6af8cfe
commit
26a3be17c8
3 changed files with 4 additions and 2 deletions
|
@ -4,4 +4,4 @@ Executable=/bin/ImageViewer
|
||||||
Category=Graphics
|
Category=Graphics
|
||||||
|
|
||||||
[Launcher]
|
[Launcher]
|
||||||
FileTypes=bmp,dds,gif,ico,iff,jpeg,jpg,jxl,pbm,pgm,png,ppm,qoi,tga,tvg
|
FileTypes=bmp,dds,gif,ico,iff,jpeg,jpg,jxl,pbm,pgm,png,ppm,qoi,tga,tiff,tif,tvg
|
||||||
|
|
|
@ -25,7 +25,7 @@ struct FileTypeFilter {
|
||||||
|
|
||||||
static FileTypeFilter image_files()
|
static FileTypeFilter image_files()
|
||||||
{
|
{
|
||||||
return FileTypeFilter { "Image Files", Vector<DeprecatedString> { "png", "gif", "bmp", "dip", "pbm", "pgm", "ppm", "ico", "iff", "jpeg", "jpg", "jxl", "dds", "qoi", "webp", "tvg" } };
|
return FileTypeFilter { "Image Files", Vector<DeprecatedString> { "png", "gif", "bmp", "dip", "pbm", "pgm", "ppm", "ico", "iff", "jpeg", "jpg", "jxl", "dds", "qoi", "tif", "tiff", "webp", "tvg" } };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
__ENUMERATE_IMAGE_FORMAT(ppm, ".ppm") \
|
__ENUMERATE_IMAGE_FORMAT(ppm, ".ppm") \
|
||||||
__ENUMERATE_IMAGE_FORMAT(qoi, ".qoi") \
|
__ENUMERATE_IMAGE_FORMAT(qoi, ".qoi") \
|
||||||
__ENUMERATE_IMAGE_FORMAT(tga, ".tga") \
|
__ENUMERATE_IMAGE_FORMAT(tga, ".tga") \
|
||||||
|
__ENUMERATE_IMAGE_FORMAT(tiff, ".tif") \
|
||||||
|
__ENUMERATE_IMAGE_FORMAT(tiff, ".tiff") \
|
||||||
__ENUMERATE_IMAGE_FORMAT(tvg, ".tvg") \
|
__ENUMERATE_IMAGE_FORMAT(tvg, ".tvg") \
|
||||||
__ENUMERATE_IMAGE_FORMAT(tvg, ".webp")
|
__ENUMERATE_IMAGE_FORMAT(tvg, ".webp")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue