1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #16822 from calixteman/issue16821

[Editor] Don't forget to encrypt image streams (see issue #16821)
This commit is contained in:
calixteman 2023-08-10 16:18:17 +02:00 committed by GitHub
commit 4be6c90796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 51 additions and 6 deletions

View file

@ -609,3 +609,4 @@
!annotation_hidden_print.pdf
!annotation_hidden_noview.pdf
!widget_hidden_print.pdf
!empty_protected.pdf

BIN
test/pdfs/empty_protected.pdf Executable file

Binary file not shown.

View file

@ -8088,5 +8088,36 @@
"rounds": 1,
"link": true,
"type": "other"
},
{
"id": "protected-stamp-editor-save-print",
"file": "pdfs/empty_protected.pdf",
"md5": "3a9e0ede729dceb1052bda48db47dca1",
"rounds": 1,
"type": "eq",
"save": true,
"print": true,
"annotationStorage": {
"pdfjs_internal_editor_0": {
"annotationType": 13,
"pageIndex": 0,
"bitmapName": "firefox_logo.png",
"bitmapId": "image_c29eaeb9-8839-4a09-bf7c-75a5785805cd_0",
"rect": [37.5, 32.406246185302734, 496.5000057220459, 519.1875],
"rotation": 0
},
"pdfjs_internal_editor_1": {
"annotationType": 13,
"bitmapId": "image_c29eaeb9-8839-4a09-bf7c-75a5785805cd_0",
"pageIndex": 0,
"rect": [
458.06250572204584,
473.04686737060547,
571.5000057220459,
582.7187461853027
],
"rotation": 0
}
}
}
]