support gm convert

support gm convert for jpeg2000 checks