added extensions to encoder/decoder structs
added JPEG2000 decoder support