Skip to content

Feature/add din99c and din99d #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: removes IDE linter errors
  • Loading branch information
rumpelrausch committed Feb 11, 2024
commit a4dcb62bb78109687babdc65bc3276bbbd80a5d6
2 changes: 1 addition & 1 deletion src/d99c/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import convertRgbToXyz65 from '../xyz65/convertRgbToXyz65.js';
import convertXyz65ToD99c from './convertXyz65ToD99c.js';
import { interpolatorLinear } from '../interpolate/linear.js';
import { fixupAlpha } from '../fixup/alpha.js';
import { fixupHueShorter } from '../fixup/hue.js';
import { differenceEuclidean } from '../difference.js';

const definition = {
Expand All @@ -17,6 +16,7 @@ const definition = {

fromMode: {
xyz65: convertXyz65ToD99c,
// @ts-ignore
rgb: c => convertXyz65ToD99c(convertRgbToXyz65(c))
},

Expand Down
1 change: 1 addition & 0 deletions src/d99d/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const definition = {

fromMode: {
xyz65: convertXyz65ToD99d,
// @ts-ignore
rgb: c => convertXyz65ToD99d(convertRgbToXyz65(c))
},

Expand Down