mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
adding .tga mimetype signature
This commit is contained in:
parent
483dfb9079
commit
4447b4f5bf
@ -221,6 +221,12 @@ final class UserDefinedFileTypesManager {
|
||||
// Add rule for .pfm
|
||||
fileType = new FileType("image/x-portable-floatmap", new Signature("PF", 0L), "", false); //NON-NLS
|
||||
fileTypes.add(fileType);
|
||||
|
||||
// Add rule for .tga
|
||||
byteArray = DatatypeConverter.parseHexBinary("54525545564953494F4E2D5846494C452E00");
|
||||
fileType = new FileType("image/x-tga", new Signature(byteArray, true), "", false);
|
||||
fileTypes.add(fileType);
|
||||
|
||||
}
|
||||
// parseHexBinary() throws this if the argument passed in is not Hex
|
||||
catch (IllegalArgumentException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user