[File] magic file for CIS/COD images ("Lightning Strike")
Robert Jäschke
robert.jaeschke at hu-berlin.de
Wed Nov 12 07:05:14 UTC 2025
Dear all,
are obsolete bitmap graphics formats still relevant for file? I've been
researching the "CIS/COD" ("Lightning Strike") image file format¹ for a
while now² and have created the magic description below.³ I would be
pleased to see it included in file but you've got to decide how relevant
this is.
Best regards,
Robert
¹ http://justsolve.archiveteam.org/wiki/Lightning_Strike
² https://cod.igada.de/
³ also available here: https://cod.igada.de/resources.html
# Type: CIS/COD Bitmaps
# Documentation: https://cod.igada.de/ and http://justsolve.archiveteam.org/wiki/Lightning_Strike
# From: Robert Jäschke <robert.jaeschke at hu-berlin.de>
0 string CIS CIS/COD image data,
!:mime image/cis-cod
!:ext png
# versions 2.3 to 2.5 are different to version 3.0
>3 regex/4 2\.[345] version %s,
>>16 leshort x %d x
>>18 leshort x %d
# so far we know more about version 3.0
>3 string/3 3.0 version %s,
# width and height
>>16 leshort x %d x
>>18 leshort x %d x
>>20 byte x %d
# gray vs. color
>>21 byte 0 (gray,
>>21 byte 1 (color,
# encoder type
>>24 byte 1 lossy arithmetic encoder,
>>24 byte 2 lossless arithmetic encoder,
# compression type
>>25 byte 1 bi-wavelet compression,
# quantizer type
>>26 byte 1 table quantization,
# scb
>>27 byte 1 SISD,
# color space
>>28 byte 1 YIQ RGB,
>>28 byte 2 YUV RGB,
>>28 byte 3 YCbCr RGB,
# wavelet levels
>>29 byte x %d wavelet levels)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6004 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20251112/088c2abb/attachment.bin>
More information about the File
mailing list