add compression paramater and JPEG 2000 format