support for jp2 validation in cmdline