Add support for JPEG-2000 compression with code 34712

Fixes #9618.
Merge pull request #319 from melissalinkert/9618

Add support for JPEG-2000 compression with code 34712