Added support for J2K encoding with libopenjpeg