Skip to content

Commit

Permalink
DOC: Remove watermark PageObject declaration as it is already present…
Browse files Browse the repository at this point in the history
… inside for-loop (#1384)
  • Loading branch information
cs2sandeep authored Oct 8, 2022
1 parent 92c894d commit 7faa9b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/user/add-watermark.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ def watermark(
if page_indices == "ALL":
page_indices = list(range(0, len(reader.pages)))

reader_stamp = PdfReader(stamp_pdf)
image_page = reader_stamp.pages[0]

writer = PdfWriter()
for index in page_indices:
content_page = reader.pages[index]
Expand Down

0 comments on commit 7faa9b3

Please sign in to comment.