Glazov P3232
-
image/
contains a description of the intermediate format - struct image
. This is an opaque type, all functions operating on it have the appropriate prefixes, so its interface is open for extension, and the implementation can be transparently modified.
-
formats/
contains functions and types independent of the intermediate format (mainly related to header), they can be upgraded to support newer versions without making modifications to the rest of the program.
-
converters/
contains functions that directly perform conversion to/from an intermediate format (depend on the struct image
interface and use formats/
).
-
transformations/
contains functions that transform the intermediate format in some way (depend only on the struct image
interface).