Skip to content

Commit

Permalink
refactor: use mm for lerc resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Jul 12, 2023
1 parent 6c61b99 commit 876fb67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cogify/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const webP: Preset = {
},
};

const lerc1cm: Preset = {
name: 'lerc_0.01',
const lerc10mm: Preset = {
name: 'lerc_10mm',
options: {
blockSize: CogifyDefaults.blockSize,
compression: 'lerc',
Expand All @@ -37,7 +37,7 @@ const lerc1cm: Preset = {
};

const lerc1mm: Preset = {
name: 'lerc_0.01',
name: 'lerc_1mm',
options: {
blockSize: CogifyDefaults.blockSize,
compression: 'lerc',
Expand All @@ -48,4 +48,4 @@ const lerc1mm: Preset = {
},
};

export const Presets = { [webP.name]: webP, [lerc1cm.name]: lerc1cm, [lerc1mm.name]: lerc1mm };
export const Presets = { [webP.name]: webP, [lerc10mm.name]: lerc10mm, [lerc1mm.name]: lerc1mm };

0 comments on commit 876fb67

Please sign in to comment.