|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.1084'; |
|
|
|
PDFJS.version = '1.0.1086'; |
|
|
|
PDFJS.build = 'c7af070'; |
|
|
|
PDFJS.build = '465f52e'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -41825,11 +41825,6 @@ var JpxImage = (function JpxImageClosure() { |
|
|
|
context.QCC = []; |
|
|
|
context.QCC = []; |
|
|
|
context.COC = []; |
|
|
|
context.COC = []; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 0xFF55: // Tile-part lengths, main header (TLM)
|
|
|
|
|
|
|
|
var Ltlm = readUint16(data, position); // Marker segment length
|
|
|
|
|
|
|
|
// Skip tile length markers
|
|
|
|
|
|
|
|
position += Ltlm; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 0xFF5C: // Quantization default (QCD)
|
|
|
|
case 0xFF5C: // Quantization default (QCD)
|
|
|
|
length = readUint16(data, position); |
|
|
|
length = readUint16(data, position); |
|
|
|
var qcd = {}; |
|
|
|
var qcd = {}; |
|
|
@ -42019,6 +42014,9 @@ var JpxImage = (function JpxImageClosure() { |
|
|
|
length = tile.dataEnd - position; |
|
|
|
length = tile.dataEnd - position; |
|
|
|
parseTilePackets(context, data, position, length); |
|
|
|
parseTilePackets(context, data, position, length); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 0xFF55: // Tile-part lengths, main header (TLM)
|
|
|
|
|
|
|
|
case 0xFF57: // Packet length, main header (PLM)
|
|
|
|
|
|
|
|
case 0xFF58: // Packet length, tile-part header (PLT)
|
|
|
|
case 0xFF64: // Comment (COM)
|
|
|
|
case 0xFF64: // Comment (COM)
|
|
|
|
length = readUint16(data, position); |
|
|
|
length = readUint16(data, position); |
|
|
|
// skipping content
|
|
|
|
// skipping content
|
|
|
@ -42359,7 +42357,7 @@ var JpxImage = (function JpxImageClosure() { |
|
|
|
r = 0; |
|
|
|
r = 0; |
|
|
|
c = 0; |
|
|
|
c = 0; |
|
|
|
p = 0; |
|
|
|
p = 0; |
|
|
|
|
|
|
|
|
|
|
|
this.nextPacket = function JpxImage_nextPacket() { |
|
|
|
this.nextPacket = function JpxImage_nextPacket() { |
|
|
|
// Section B.12.1.3 Resolution-position-component-layer
|
|
|
|
// Section B.12.1.3 Resolution-position-component-layer
|
|
|
|
for (; r <= maxDecompositionLevelsCount; r++) { |
|
|
|
for (; r <= maxDecompositionLevelsCount; r++) { |
|
|
@ -42443,7 +42441,7 @@ var JpxImage = (function JpxImageClosure() { |
|
|
|
var componentsCount = siz.Csiz; |
|
|
|
var componentsCount = siz.Csiz; |
|
|
|
var precinctsSizes = getPrecinctSizesInImageScale(tile); |
|
|
|
var precinctsSizes = getPrecinctSizesInImageScale(tile); |
|
|
|
var l = 0, r = 0, c = 0, px = 0, py = 0; |
|
|
|
var l = 0, r = 0, c = 0, px = 0, py = 0; |
|
|
|
|
|
|
|
|
|
|
|
this.nextPacket = function JpxImage_nextPacket() { |
|
|
|
this.nextPacket = function JpxImage_nextPacket() { |
|
|
|
// Section B.12.1.5 Component-position-resolution-layer
|
|
|
|
// Section B.12.1.5 Component-position-resolution-layer
|
|
|
|
for (; c < componentsCount; ++c) { |
|
|
|
for (; c < componentsCount; ++c) { |
|
|
|