Talk:JPEG XT

"Binary" metadata
I've removed the word binary again. The phrase "binary metadata" is a misnomer, and it is not supported by the reference (pdf). Please do not re-add it without further discussion. nagualdesign 07:27, 6 March 2018 (UTC)
 * See binary file vs text file. Dmitry (talk•contibs) 10:45, 6 March 2018 (UTC)
 * Which part of a JPEG XT file isn't binary? nagualdesign 20:47, 6 March 2018 (UTC)

To encode image dimensions as binary data, you define file offset, data type, and data size in bytes. You can then load the data from that file offset directly to registers/memory for processing. Example: 4 bytes 1780 0FB0 would encode "6016x4016 pixels" as two 16 bit integer numbers.

OTOH, to encode image dimensions as text metadata, you'd need to come with something like "dimensions: v=4016 h=6016; units=px". That's 36 ASCII-encoded bytes to parse and convert into two 16-bit integers. An order of magnitude bigger storage requirements, probably two orders of magnitute higher CPU processing power requirements. That's before you involve structured text data like XML or JSON.

So absolutely no similarities here. --Dmitry (talk•contibs) 22:08, 28 April 2018 (UTC)