Skip to content

Commit

Permalink
fix: change jpegxl to jxl
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Oct 10, 2024
1 parent 699cd39 commit d644ac1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions igneous/task_creation/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 2 additions & 2 deletions igneous_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d644ac1

Please sign in to comment.