Merge pull request #9802 from Snuffleupagus/ColorSpace-PDFImage-Uint8ClampedArray

Update `ColorSpace` and `PDFImage` to use `Uint8ClampedArray`s and remove manual clamping/rounding
This commit is contained in:
Tim van der Meij 2018-06-16 17:55:10 +02:00 committed by GitHub
commit 620da6f4df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 363 additions and 273 deletions

View file

@ -671,7 +671,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
* title: string,
* bold: boolean,
* italic: boolean,
* color: rgb Uint8Array,
* color: rgb Uint8ClampedArray,
* dest: dest obj,
* url: string,
* items: array of more items like this