We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e9b16 commit 831179eCopy full SHA for 831179e
CHANGELOG.md
@@ -2,6 +2,8 @@
2
3
### Unreleased
4
5
+- Fix browserify transform sRGB_IEC61966_2_1.icc file
6
+
7
### [v0.15.0] - 2024-03-23
8
9
- Add subset for PDF/UA
lib/mixins/pdfa.js
@@ -16,11 +16,11 @@ export default {
16
17
endSubset() {
18
this._addPdfaMetadata();
19
- this._addColorOutputIntent(`${__dirname}/data/sRGB_IEC61966_2_1.icc`);
+ this._addColorOutputIntent();
20
},
21
22
- _addColorOutputIntent(pICCPath) {
23
- const iccProfile = fs.readFileSync(pICCPath);
+ _addColorOutputIntent() {
+ const iccProfile = fs.readFileSync(`${__dirname}/data/sRGB_IEC61966_2_1.icc`);
24
25
const colorProfileRef = this.ref({
26
Length: iccProfile.length,
0 commit comments