@syncfusion/ej2-pdf
Advanced tools
Comparing version 27.2.2 to 27.2.3
/*! | ||
* filename: index.d.ts | ||
* version : 27.2.2 | ||
* version : 27.2.3 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-pdf@*", | ||
"_id": "@syncfusion/ej2-pdf@27.1.58", | ||
"_id": "@syncfusion/ej2-pdf@27.2.2", | ||
"_inBundle": false, | ||
"_integrity": "sha512-oo4vydqmbUGYp7V6miOf9KqRPaNKm8O8yoBsj5XhB1BhWFhVNydRkMnPXTHR8+58PTKHhehjo7ghLtUWzn3R7A==", | ||
"_integrity": "sha512-5MVat1QVqm0/oMq8TEdZoJRR2taQhzYTCuB6+yj1exYPw+RF6ljk2gIctekMu0wRRm1x77/s7cJsPNsfdDrRhw==", | ||
"_location": "/@syncfusion/ej2-pdf", | ||
@@ -24,4 +24,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf/-/ej2-pdf-27.1.58.tgz", | ||
"_shasum": "fbb5d59f26e701864fb013e1ff51cb258cb5fa9c", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf/-/ej2-pdf-27.2.2.tgz", | ||
"_shasum": "aa89aa07729317d9e8341aa6262ca43228f9651f", | ||
"_spec": "@syncfusion/ej2-pdf@*", | ||
@@ -59,5 +59,5 @@ "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "27.2.2", | ||
"version": "27.2.3", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -369,9 +369,15 @@ var __extends = (this && this.__extends) || (function () { | ||
_PngDecoder.prototype._decompressAverage = function (data, pData, count, bitsPerPixel) { | ||
var val; | ||
var pp; | ||
var pr; | ||
for (var i = 0; i < bitsPerPixel; i++) { | ||
data[Number.parseInt(i.toString(), 10)] = _toUnsigned((Math.floor(((data[Number.parseInt(i.toString(), 10)] & 0xff) | ||
+ (pData[Number.parseInt(i.toString(), 10)] & 0xff)) / 2)), 8); | ||
val = data[Number.parseInt(i.toString(), 10)] & 0xff; | ||
pr = pData[Number.parseInt(i.toString(), 10)] & 0xff; | ||
data[Number.parseInt(i.toString(), 10)] = _toUnsigned(Math.floor((val) + pr / 2), 8); | ||
} | ||
for (var i = bitsPerPixel; i < count; i++) { | ||
data[Number.parseInt(i.toString(), 10)] = _toUnsigned(Math.floor((data[Number.parseInt(i.toString(), 10)] & 0xff) | ||
+ ((data[i - bitsPerPixel] & 0xff) + (pData[Number.parseInt(i.toString(), 10)] & 0xff)) / 2), 8); | ||
val = data[Number.parseInt(i.toString(), 10)] & 0xff; | ||
pp = data[i - bitsPerPixel] & 0xff; | ||
pr = pData[Number.parseInt(i.toString(), 10)] & 0xff; | ||
data[Number.parseInt(i.toString(), 10)] = _toUnsigned(Math.floor((val + Math.floor((pp + pr) / 2))), 8); | ||
} | ||
@@ -378,0 +384,0 @@ }; |
@@ -34,3 +34,3 @@ import { PdfFont, PdfFontStyle } from './fonts/pdf-standard-font'; | ||
constructor(crossReference: _PdfCrossReference, destination: PdfDocument, source: PdfDocument, pageReference: Map<_PdfDictionary, PdfPage>, options: PdfPageImportOptions); | ||
_importPages(page: PdfPage, index: number, layers: boolean, isCopiedPage: boolean): void; | ||
_importPages(page: PdfPage, index: number, layers: boolean, isCopiedPage: boolean, options?: PdfPageImportOptions): void; | ||
_importAnnotation(page: PdfPage, newPage: PdfPage): void; | ||
@@ -37,0 +37,0 @@ _formFieldsGroupingSupport(form: PdfForm, oldPage: PdfPage, newPage: PdfPage): void; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28088988
216850