by turtledragonfly · 3y ago · 0 comments
For instance "if value at offset X is 123, then treat this other block of data as format ABC, otherwise treat it as as DEF". Obviously can get complex. The Adobe PSD format does horrible things like this all over the place (:
You can see it in use in the PNG format template, here: https://github.com/martinlindhe/feng/blob/main/templates/ima...