updates jp2 image handling.