[File] PRONOM signature conversions
Christos Zoulas
christos at zoulas.com
Sat Apr 12 16:05:53 UTC 2025
> On Apr 12, 2025, at 8:55 AM, Jason Summers <jason1 at pobox.com> wrote:
>
> I don't speak for the 'file' project maintainers.
>
> Looks like a lot of good information here. But I feel like I must be missing something. Does the file on GitHub only include the first *line* of each pattern?
>
> Consider these examples. (Note that these are the complete patterns. There are no ">" lines.)
>
> 0 string \x46\x4f\x52\x4d Amiga Metafile Format
> 0 string \x46\x4f\x52\x4d Extended MIDI Audio File
> 0 string \x46\x4f\x52\x4d FAXX IFF Facsimile Image
> 0 string \x46\x4f\x52\x4d IFF Amiga Contiguous BitMap
>
> These are obviously not usable as they are.
>
> Are your PRONOM patterns more strict than this? I know that not every PRONOM pattern can easily be converted to file's format. But if a pattern can't be converted properly, I'd think it should be rejected, not converted badly.
>
Plus
> 0 string \x46\x4f\x52\x4d Amiga Metafile Format
>
is just:
0 string FORM Amiga Metafile format
which is already there:
$ grep FORM iff
iff:0 string FORM IFF data
christos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20250412/341afbc4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20250412/341afbc4/attachment.asc>
More information about the File
mailing list