Skip to content

Commit

Permalink
Merge pull request #32 from pushd/add-hpminde-option
Browse files Browse the repository at this point in the history
Add hpminde_rgb option for LUT file
  • Loading branch information
BenJacobsen authored Apr 25, 2024
2 parents e6ae447 + bf4b4c3 commit 4608ff6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ RUN cd /opt/pushd-dither \
# decompress LUTs
RUN cd /opt/pushd-dither/lut_dither \
&& zstd -fd --rm lab_13_hack.interpol_clarabel.npy.zst \
&& zstd -fd --rm rgb_13.interpol_clarabel.npy.zst
&& zstd -fd --rm rgb_13.interpol_clarabel.npy.zst \
&& zstd -fd --rm hpminde_rgb.npy.zst

# ====== END PUSHD DITHER ========

Expand Down
2 changes: 2 additions & 0 deletions options/processing_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ func applyDitherOption(po *ProcessingOptions, args []string) error {
po.Dither.LUTFile = "lab_13_hack.interpol_clarabel"
case "lrgb13":
po.Dither.LUTFile = "rgb_13.interpol_clarabel"
case "hpmrgb":
po.Dither.LUTFile = "hpminde_rgb"
default:
if err := maybeParseNumericDitherOptions(po, arg); err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion plugins/pushd-dither

0 comments on commit 4608ff6

Please sign in to comment.