Feature/formats/pre post resize

Shouldn't this be this be defined inside Format? Does it make sense for it to be a global type?