mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +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
Notes:
sideshowbarker
2024-07-16 22:58:46 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/26a3be17c8 Pull-request: https://github.com/SerenityOS/serenity/pull/21666 Reviewed-by: https://github.com/nico ✅ Reviewed-by: https://github.com/tcl3
3 changed files with 4 additions and 2 deletions
|
@ -4,4 +4,4 @@ Executable=/bin/ImageViewer
|
|||
Category=Graphics
|
||||
|
||||
[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()
|
||||
{
|
||||
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(qoi, ".qoi") \
|
||||
__ENUMERATE_IMAGE_FORMAT(tga, ".tga") \
|
||||
__ENUMERATE_IMAGE_FORMAT(tiff, ".tif") \
|
||||
__ENUMERATE_IMAGE_FORMAT(tiff, ".tiff") \
|
||||
__ENUMERATE_IMAGE_FORMAT(tvg, ".tvg") \
|
||||
__ENUMERATE_IMAGE_FORMAT(tvg, ".webp")
|
||||
|
||||
|
|
Loading…
Reference in a new issue