diff --git a/igneous/task_creation/common.py b/igneous/task_creation/common.py index 3df70a6..0df44cd 100644 --- a/igneous/task_creation/common.py +++ b/igneous/task_creation/common.py @@ -226,10 +226,10 @@ def set_encoding(cv, mip, encoding, encoding_level, encoding_effort): if encoding == "jpeg": scale["jpeg_quality"] = encoding_level - elif encoding == "jpegxl": - scale["jpegxl_quality"] = encoding_level + elif encoding == "jxl": + scale["jxl_quality"] = encoding_level if encoding_effort is not None: - scale["jpegxl_effort"] = int(encoding_effort) + scale["jxl_effort"] = int(encoding_effort) elif encoding == "png": scale["png_level"] = encoding_level elif encoding == "fpzip": diff --git a/igneous_cli/cli.py b/igneous_cli/cli.py index bfdeaed..36b50f6 100644 --- a/igneous_cli/cli.py +++ b/igneous_cli/cli.py @@ -44,8 +44,8 @@ def normalize_encoding(encoding): return "crackle" elif encoding == "cpso": return "compresso" - elif encoding == "jxl": - return "jpegxl" + elif encoding == "jpegxl": + return "jxl" elif encoding == "auto": return None