xref: /freebsd/contrib/file/magic/Magdir/measure (revision cddbc3b40812213ff00041f79174cac0be360a2a)
1
2#------------------------------------------------------------------------------
3# $File: measure,v 1.2 2018/06/23 16:13:15 christos Exp $
4# measure: file(1) magic for measurement data
5
6# DIY-Thermocam raw data
70	name	diy-thermocam-parser
8>0	beshort	x	scale %d-
9>2	beshort x	\b%d,
10>4	lefloat	x	spot sensor temperature %f,
11>9	ubyte	0	unit celsius,
12>9	ubyte	1	unit fahrenheit,
13>8	ubyte	x	color scheme %d
14>10	ubyte	1	\b, show spot sensor
15>11	ubyte	1	\b, show scale bar
16>12	ubyte	&1	\b, minimum point enabled
17>12	ubyte	&2	\b, maximum point enabled
18>13	lefloat	x	\b, calibration: offset %f,
19>17	lefloat x	slope %f
20
210	name	diy-thermocam-checker
22>9	ubyte	<2
23>>10	ubyte	<2
24>>>11	ubyte	<2
25>>>>12	ubyte	<4
26>>>>>17	lefloat	>0.0001	DIY-Thermocam raw data
27
28# V2 and Leption 3.x:
2938408	ubyte	<19
30>38400	use	diy-thermocam-checker
31>>38400	default x	(Lepton 3.x),
32>>>38400	use	diy-thermocam-parser
33
34# V1 or Lepton 2.x
359608	ubyte	<19
36>9600	use	diy-thermocam-checker
37>>9600	default	x	(Lepton 2.x),
38>>>9600	use	diy-thermocam-parser
39
40