add argument for jpeg decomparess