View Issue Details

IDProjectCategoryView StatusLast Update
0000674fileGeneralpublic2025-07-04 19:48
Reporterjulia.scheaffer Assigned To 
PrioritylowSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version5.46 
Summary0000674: Aseprite Images do not have mime type
DescriptionAseprite image file do not have a mime type associate with them, causing -i to return application/octet-stream.

Aseprite uses the `image/x-aseprite` mime type in their files. https://github.com/aseprite/aseprite/blob/b4555fc09876753fc4e74ac6957cce3c9b71b19b/src/desktop/linux/mime/aseprite.xml
Steps To ReproduceRun `file -i FileTest.aseprite` with the attached file.
TagsNo tags attached.

Activities

julia.scheaffer

2025-07-04 19:38

reporter  

FileTest.aseprite (276 bytes)

julia.scheaffer

2025-07-04 19:48

reporter   ~0004270

aseprite-mimetype.patch (456 bytes)   
diff --git a/magic/Magdir/images b/magic/Magdir/images
index 3f5f5544..0a71f2c1 100644
--- a/magic/Magdir/images
+++ b/magic/Magdir/images
@@ -4566,6 +4566,7 @@
 >24            ulelong         0
 >>4            uleshort        0xA5E0  Aseprite asset file
 !:ext  aseprite
+!:mime  image/x-aseprite
 >>>0           ulelong         x       \b, size %u
 >>>6           uleshort        x       \b, frames %u
 >>>8           uleshort        x       \b, size %ux
aseprite-mimetype.patch (456 bytes)   

Issue History

Date Modified Username Field Change
2025-07-04 19:38 julia.scheaffer New Issue
2025-07-04 19:38 julia.scheaffer File Added: FileTest.aseprite
2025-07-04 19:48 julia.scheaffer Note Added: 0004270
2025-07-04 19:48 julia.scheaffer File Added: aseprite-mimetype.patch