Re: [Pmt-exif] HEX syntax
Brought to you by:
glennrp
From: Glenn Randers-P. <gl...@ho...> - 2000-08-09 10:54:51
|
At 04:28 PM 8/8/00 -0400, you wrote: >At 08:12 PM 8/8/00 +0000, Adam M. Costello wrote: >>Another possibility is to put the information in the HEX value itself: >> >>MakerNote=M 04B129C6 >>MakerNote=I C629B104 >> >>(I took the M/I convention from TIFF.) > >Yes, something like that had occurred to me as well, but I was thinking >of B/L/U/N as the flag (Big/Little/Unknown/NotApplicable). "G" for "biG" instead of "B" for "Big" would probably be better, to put it outside the range of hex digits. But the only case that is interesting to applications is when the string contains multibyte values in little-endian format, so I think it's best to go with "L " in that case, and nothing in the others. "I "/"M " would be OK, too, with the "M " being optional. Whitespace between the flag and the hex codes can be optional. e.g., Makernote containing 2 4-byte values and 2 2-byte values: MakerNote=M 04B129C6 01020304 0506 0708 MakerNote=I C629B104 04030201 0605 0807 MakerNote=04B129C60102030405060708 MakerNote=LC629B1040403020106070807 BTW I wasn't familiar with the I/M flag. Does it mean Intel/Mac? Glenn |