Skip to content

Commit

Permalink
use license free cmyk profile, following lovell#4096 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanmeuris committed May 13, 2024
1 parent 4486ca0 commit 9fad2bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file removed test/fixtures/U.S. Web Coated (SWOP) v2.icc
Binary file not shown.
Binary file added test/fixtures/XCMYK 2017.icc
Binary file not shown.
4 changes: 2 additions & 2 deletions test/unit/colourspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ describe('Colour space conversion', function () {
.resize(320, 240)
.toColourspace('cmyk')
.pipelineColourspace('cmyk')
.withIccProfile(fixtures.path('U.S. Web Coated (SWOP) v2.icc'))
.withIccProfile(fixtures.path('XCMYK 2017.icc'))
.raw()
.toBuffer();

const [c, m, y, k] = data;
assert.deepStrictEqual(
{ c, m, y, k },
{ c: 25, m: 255, y: 255, k: 4 }
{ c: 1, m: 239, y: 227, k: 5 }
);
});

Expand Down

0 comments on commit 9fad2bc

Please sign in to comment.