complete rewrite of opj_convert.c with correct values (from winfried)