We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e17d828 + 5e3882a commit 7bfd74fCopy full SHA for 7bfd74f
src/function.js
@@ -103,11 +103,12 @@ var PDFFunction = (function PDFFunctionClosure() {
103
104
var size = dict.get('Size');
105
var bps = dict.get('BitsPerSample');
106
- var order = dict.get('Order');
107
- if (!order)
108
- order = 1;
109
- if (order !== 1)
110
- error('No support for cubic spline interpolation: ' + order);
+ var order = dict.get('Order') || 1;
+ if (order !== 1) {
+ // No description how cubic spline interpolation works in PDF32000:2008
+ // As in poppler, ignoring order, linear interpolation may work as good
+ TODO('No support for cubic spline interpolation: ' + order);
111
+ }
112
113
var encode = dict.get('Encode');
114
if (!encode) {
0 commit comments