is the extension that of a file format supported by this codec?
rationale: cannot just return the extension string and have
caller compare it (-> smaller code) because a codec's file format
may have several valid extensions (e.g. jpg and jpeg).
Transform: transform this bound by given matrix; return transformed bound
in 'result' parameter - slightly modified version of code in Graphic Gems
(can't remember which one it was, though)